pending order opening way higher than candle set in EA
-
I created an EA where I wanted a pending order opened above open of candle 2 and a stop loss below the close of bar1. The ea is drawing the pending order 100 pips above the candle. Cant see where I am going wrong.
https://fxdreema.com/shared/NkbFIidDc
Could someone have a look and advise, the lines and arrows are just for testing and checking EA.
-
@sli1-0 check the adjust values.

Assuming your chart symbol is something luke EURUSD, you would add 1.00000 to the price, which would be 1.09522 and you make it 2.09522!
Same with SL.