Forum

Getting an error in while testing strategy "failed market buy 0.01 EUROUSD sl: tp: [Invalid stops]" MT5

Hi, I have below code : #include <Trade/Trade.mqh> input double Lots = 0.02 ; input double Lotfactor = 2 ; input int TpPoints = 100 ; input int SlPoints = 100 ; input int Magic = 111 ; CTrade trade; bool isTradeAllowed = true ; int OnInit () { trade.SetExpertMagicNumber (Magic); return (

Not sure if this EA even running

Please help me to know if below EAs working in real account ? I have applied and saw no movement, not even able to know if it's running or not. Attaching screenshot and code #property copyright "Copyright 2010, vsebastien3" #include <Trade\PositionInfo.mqh> #include <Trade\Trade.mqh> #include