Forum

OBJ showing Values of StopLoss & TakeProfit

Hey There, Need help to build an OBJ that will show the StopLoss and TakeProfit in symbol currency, as exposed below: Meaning that if the asset hit the StopLoss, trader will loose 85 in it's currency. This is the code I've done so far, with no sucess: if ( ObjectFind ( ChartID (), "StopLoss" )< 0 )

Issue when BackTesting with CopyTicksRange & CopyTicks in EA

Hello there! I'm trying to get ticks for some calc with CopyTicksRange function in EA (please,see code below). It works fine in real account , give the proper results. But when backtesting, it doesn't work. I'm currently working in Brazilian market with asset WING19. As I could understand so far