EA doesn't place trades
Do not double/triple post!
I have deleted your other 2 duplicate topics.
Correction - your other 3 topics!
udoh.jeremiah.emem:
Do you get any kind of error messages?
pls can someone help.....my EA does not place trades
Dedicated code - it makes no sense:
//+------------------------------------------------------------------+ //| Input variables | //+------------------------------------------------------------------+ input int Stoploss = 50, Takeprofit = 100; input double Tradevol = 0.1; //+------------------------------------------------------------------+ //| Global Variables | //+------------------------------------------------------------------+ bool glBuyPlaced, glSellPlaced, openPosition = PositionSelect(_Symbol); long positionType = PositionGetInteger(POSITION_TYPE);
I recommend doing this - in the input parameters, set the position type:
//--- input parameters input ENUM_POSITION_TYPE InpPositionType = POSITION_TYPE_BUY; // Position Type
pls can someone help.....my EA does not place trades