![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I cannot get it working at all
order= OrderSend(NULL,NULL,0.01,open,2,bot-0.0002,MathMax(profit,profit2)+0.0004,NULL,NULL,NULL,Green);
x=1;
y=1;
}
for(y=1;y>=2000000000;y++);
for(x=1;x>=200;x++);
order=OrderSelect(y,SELECT_BY_POS,MODE_TRADES);
if(order<0){
Alert("Error");
}
else
{
if(Ask>0.0030+OrderOpenPrice())
res = OrderModify(order,Ask,open,MathMax(profit,profit2)+0.0004,NULL,Blue);
}