[MT4指标]未来价格预测函数指标
主图指标
mt4指标类型:趋势指标
是否能用在mt4手机版上:否
是否含有未来函数:有
利用价格预测函数 指引未来价格预测函数指标
extern int Delta = 140;
extern int CurLoDist = 70;
extern int PrevHiDist = 30;
extern int SL = 60;
extern int TP = 100;
int PrevBarHiLo, LastDayTrade;
int JT_SL, // Jumlah Trades Sell Limit
JT_BL, // Jumlah Trades Buy Limit
JT_SS, // Jumlah Trades Sell Stop
JT_BS, // Jumlah Trades Buy Stop
JT_OS, // Jumlah Trades Open Sell
JT_OB; // Jumlah Trades Open Buy
int start()
{
PrevBarHiLo = (High[1]-Low[1])/Point;
if (PrevBarHiLo >= Delta) // Req.#1
{
if (Open[1]>Close[1]) // Sell Direction
{
if ((Low[1]-Bid)/Point>=PrevHiDist) // Req.#2
{
if ((High[0]-Bid)/Point>=CurLoDist) // Req.#3
{
if (OrdersTotal()<=0 && TimeDayOfYear(CurTime())!=LastDayTrade)
{
LastDayTrade=TimeDayOfYear(CurTime());
OrderSend(Symbol(),OP_SELL,1,Bid,0,Bid+(SL*Point),Bid-(TP*Point),"Sell",0,0,Red);
}
}
}
}
if (Open[1]=PrevHiDist) // Req.#2
{
if ((Ask-Low[0])/Point>=CurLoDist) // Req.#3
{
if (OrdersTotal()<=0 && TimeDayOfYear(CurTime())!=LastDayTrade)
{
LastDayTrade=TimeDayOfYear(CurTime());
OrderSend(Symbol(),OP_BUY,1,Ask,0,Ask-(SL*Point),Ask+(TP*Point),"Buy",0,0,Blue);
}
}
}
}
}
ChkAllTrd();
if (JT_OS>0 || JT_OB>0)
{
SetSLtoBEP();
if (TimeHour(CurTime())==23 && TimeMinute(CurTime())==30)
{
TutupOpenPosisi();
}
}
return(0);
}
void ChkAllTrd()
{
int ecnt, total;
JT_SL=0;
JT_BL=0;
JT_SS=0;
JT_BS=0;
JT_OS=0;
JT_OB=0;
total=OrdersTotal();
for (ecnt=0;ecnt=30)
{
OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice(),OrderTakeProfit(),0,Brown);
}
}
}Forex_CashCow_r1.jpg
发表于:2016-12-15 11:39只看该作者
2楼
缺钱,灌水赚通宝,谢谢分享!!
韬客社区www.talkfx.co
发表于:2016-12-24 12:09只看该作者
3楼
1
韬客社区www.talkfx.co
发表于:2016-12-25 17:02只看该作者
4楼
缺钱,灌水赚通宝,谢谢分享!!
韬客社区www.talkfx.co
发表于:2017-08-08 06:35只看该作者
5楼
谢谢分享
韬客社区www.talkfx.co
发表于:2017-09-07 00:50只看该作者
7楼
几十个模版指标 总有一个适合你
发表于:2017-09-13 13:45只看该作者
8楼
灌水赚通宝,谢谢分享!!
韬客社区www.talkfx.co
9楼
Cccccccccccccccc