Kahlil Lawrence / Publications
Forum
Add trailing step input to Trailing stops
void TrailingPositionBuy ( int idTrailingStoploss, int idMagic, int idTicket) { int TS = idTrailingStoploss; for ( int TS= 0 ; TS< OrdersTotal (); TS++) { if ( OrderSelect (idTicket, SELECT_BY_TICKET)) { if (OrderSymbol()== Symbol ()) { if
having a problem getting a crossover and crossbelow signal in my rsi ea
input ENUM_TIMEFRAMES RSItimeframe = PERIOD_CURRENT; input int RSIPeriod = 4; input double RSIHighLevel = 80; input double RSILowLevel = 20; input ENUM_APPLIED_PRICE RSIAppliedPrice = PRICE_CLOSE; //+------------------------------------------------------------------+ //|