Forum

Need help for this naked Expert advisor that not open order while start

#property copyright "Copyright 2019, MetaQuotes Software Corp." #property link "https://www.mql5.com" #property version "1.00" #property strict extern int BiggestCandleRange = 6 ; extern bool RoomToTheLeft = true ; extern int RoomToTheLeftCandle = 10 ; extern double RoomThreshold = 5.0 ;

Closeorder function is not work Plz help me

I have this codes but not work close function How can I success it extern double LotSize = 0.5 ; int BuyTicket; int SellTicket; int magic; double atr_current, atr_past; //+------------------------------------------------------------------+ //| Expert initialization function

How can I open same subsequence orders if one entry make profit

If one entry make profit ,how can open next same orders into this direction in EA How can code it

Someone help me Why happen multiple open orders in each bar of my EA

I coded MA crossover EA .After one order successful opened and get take profit ,next open order happen multiple times(around 100 orders) in each bar.What wrong with that.Someone help me. void OnTick() { //--- double SlowMovingAverage = iMA(NULL ,0 ,100,0,MODE_EMA,PRICE_CLOSE,0);