fxDreema

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

    Problema para colocar el stop loss

    Questions & Answers
    2
    2
    525
    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.
    • T
      timoteo21 last edited by

      hola , estoy haciendo un Ea que usar una gestión porcentual relacionada con el stop loss. el tema es que quiero que el stop loss se ponga la distancia de 2*atr(30). sobre el precio de compra como de venta. , pero el tema que no tengo la menor idea de programar eso .si alguien me pudiera dar una mano con este problema seria fabuloso.gracias

      1 Reply Last reply Reply Quote 0
      • J
        josecortesllobat last edited by

        ATR is an indicator that uses prices to calculate its value. Then, it returns a value as a "Price fraction".

        If you want to use a specific value of the ATR to place a Price level, you should use a formula like:

        PriceLevel = OpenPrice + 2*ATR(30)

        You can do that by using the "Formula" block

        0_1537801045515_bfd42c02-bcf8-42bb-ae25-87f2a7d7c984-image.png

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

        Online Users

        S
        D
        V
        O

        16
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors