high[1]>ma[1],cLOSE[2]<ma[2],open[0]-high[1]<N2, sell, IF HIGH>high[1](sell bar),close sell, if ma[1]>ma[2],close[1]>ma[1],close sell. buy as the same
as the pic, 6 trades,how to get the chart of every trade? how to see the most loss ? before using it in real trading ,how to make sure it will not go wrong in reality? thanks a lot!
and how to get the bar before the open position bar
as the picture:
i think maybe this line is wrong,but don't know why: double lot=NormalizeDouble(AccountInfoDouble( ACCOUNT_MARGIN_FREE )*MaximumRisk/((rt[1].high-rt[1].low+symb_ask-symb_bid)*SYMBOL_POINT),2); i want to use the high of the signal bar (the bar before the open bar) added the spread as stop when sell