fxDreema

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

    View the S/L value of an oscillator on the price chart

    Questions & Answers
    2
    6
    89
    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.
    • R
      REALMENTORING last edited by

      Hello everyone.

      I'm creating a basic Expert Advisor (EA) where, for example, I open a buy position when the previous momentum indicator candle crosses above 100. I've set the condition that if the momentum indicator value is less than 99.5, the position should be closed (it acts as the stop-loss). My question is: Is there a way to have this value, which I'm using as the stop-loss/limit, appear on the chart with the corresponding price? In other words, is the stop-loss line updating in real time?

      I hope that's clear. Thank you very much.

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

        let me tell you what i understood from you,
        momentum indicator candle crosses above 100 the previous candle => buy now
        momentum indicator candle value is 99.49 => close position

        if that is the only closing condition there will not be a SL based on a price level because the actual SL level is 99.49 of the indicator

        1 Reply Last reply Reply Quote 0
        • R
          REALMENTORING last edited by

          Hi KLG. That's right. It turns out that some brokers with funded accounts increase a trader's score if they can see the stop-loss (S/L) position on the chart. As you know, the way I do it, that level (the dynamic S/L line) isn't visible.

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

            if you want to place a SL to show to the broker but you don't want it to be the main condition of closing the trade you can use the modify SL blocks to keep distance between the price line and the SL level ( there is 2 SL modify blocks in FXdreema)

            1- you place a SL when the position is placed in a specified distance
            if the buy position goes up the SL should stay on the original level until the trade is closed by the indicator "no SL modify is applied"

            2- if the price level is going down toward the SL line the SL modify block will keep a distance between the Price line and the SL level until the trade is closed by the indicator

            1 Reply Last reply Reply Quote 0
            • R
              REALMENTORING last edited by

              Okay, I understand what you're saying, thank you very much (and it's a good, functional solution so the broker can see the stop-loss level).

              But do you know of any way to translate the oscillator value (any oscillator) to the equivalent price level and display it on the chart? Thanks again.

              KLG 1 Reply Last reply Reply Quote 0
              • KLG
                KLG @REALMENTORING last edited by

                @REALMENTORING I know there is a way to convert ATR score to a price value but i haven't work on it before
                you can check the post below maybe you will come up with an idea from it
                https://fxdreema.com/forum/topic/12802/atr-pips

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

                Online Users

                M
                A
                E

                17
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors