Demo != Live.
Only one way to find out for sure.
First part of your logical solution:
OrderSend() with SL 0f 500 and TP of 50
Second part says:
if(Bid > OrderOpenPrice() +25pips) then if (SL < Bid - 25Pips ) OrderModify() with new SL. // for BUY
Second part says: if(Bid > OrderOpenPrice() +25pips) then if (SL < Bid - 25Pips ) OrderModify() with new SL. // for BUY
"I like to the moves StopLoss to breakeven, for example: if buy at 1.500 I like to set stoploss 500 pips (@ 1.000)
and set TakeProfit 50 pips (@ 1.550) if the market moves on my favorite soon it reach 1.525
the stoploss moves from 1.000 to 1.500 then from this point i like to use traillingstop."
Thanks Phy,
This is how I did but it doesn't working right, please check
if(Bid > OrderOpenPrice() +25)// for long
if (SL < Bid -25)
if(Ask < OrderOpenPrice() -25)// for short
if (SL > Ask +25)
OrderModify(OrderTicket(),OrderOpenPrice(),StopLoss(),OrderTakeProfit(),0,Green);
return(0);
25*Point
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hi all,
for those who experience, if EA working on a Demo account does it works the same on a live account? Im asking beacuse some body told me that EA might works good on the Demo accout but not on live account.
Thanks