jayeshthakkar9096 / Publications
Forum
i want to open one position with buy () and close that one position ()
this is my code of crossover ema //CROSSOVER OF TWO EMA #include <Trade\Trade.mqh> CTrade trade; void OnTick () { double WeeklyTrendArray[],DailyTrendArray[],MAONEARRAY[] ,EMATWOARRAY[]; //Trend emas int WeeklyTrend = iMA ( _Symbol , PERIOD_W1 , 8 , 0 , MODE_EMA , PRICE_CLOSE );