fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    pending order opening way higher than candle set in EA

    Questions & Answers
    2
    2
    628
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sli1 0 last edited by

      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

      ![alt text](0_1570516279339_b915ce17-a2c7-4468-b106-5a40b37f1b3c-image.png image url)

      Could someone have a look and advise, the lines and arrows are just for testing and checking EA.

      T 1 Reply Last reply Reply Quote 0
      • T
        trader.philipps @sli1 0 last edited by

        @sli1-0 check the adjust values.

        0_1570551350222_1192a702-371f-4c5c-9750-3dc51725418c-image.png

        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.

        I like to share my knowledge, but expect the others to contribute as well.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        A
        H
        A
        S
        M

        14
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors