Hi, I running simple code on ea and indicator using tester. Timeframe is H1. The code is: double h = iHigh(NULL,PERIOD_D1,0); int err = GetLastError(); if (err!=0)
Hi, When testing grid kind EA I found, that trades with fixed 20 pips tp are closed as you can see on attached sreen shot. As you can see f.i. profit for trade #5 is $8.4. When I print closed trades from transaction history profit for that trade is