Hi people and great coders.I am looking for someone who can code my idea for me. Here is my code from calculating using an indi:
double ima_0=iMA(Symbol(),0,MAPeriod,0,MODE_EMA,PRICE_CL OSE,0);
if(Bid>ima_0 MADistance) then BUY HERE;else if(Ask<ima_0-MADistance) then SELL HERE.
Parameters:
takeprofit=20
stoploss=0
MADistance=10
lot=0.01
trailingstop=15
2nd idea:
Go SHORT:if (Bid<iMA(Symbol(),0,MA_Period,0,MODE_EMA,PRICE_CLO SE,0))
Go LONG:
if (Bid>iMA(Symbol(),0,MA_Period,0,MODE_EMA,PRICE_CLO SE,0))
If the takeprofit is not reached then it should be closed at the opposite direction and this would be the stoploss.(10pips)
Parameters:
takeprofit=10
lot=0.01
opentime=21:00
closetime=10:00