fxDreema

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

    open position when price rises...

    Questions & Answers
    2
    3
    518
    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.
    • P
      Pityu last edited by

      Hi,

      Is there any way to create an EA which opens a buy position when price rises 40 pips with no larger corrections then 15 pips.
      And when the price is still rising 30 pips with no larger correction(price is decreasing) then 15 pips --> open a double sized sell position.

      once a position is opened I would use the pips away from open price. but the problem is i dont know what blocks to use to create my conditions. how to check the size of the corrections on the line graph?
      Thank you.

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        That's why indicators exist - they get the informations from candles, do some calculations over that information and produce other information (or signals) that you or the EA can use in order to decide when to trade. MA, RSI, BB, CCI, Stochastic... different indicators for different needs.

        Candles themselves are also information, and each candle can be easily accessed from the EA. You can read O, H, L and C of any candle that you can see. Also, if you ever need this, here is a block named "Single candle template" that can match certain candle form.

        1 Reply Last reply Reply Quote 0
        • P
          Pityu last edited by

          Thank you.

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

          Online Users

          W
          S
          A
          H
          H
          T
          S

          17
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors