fxDreema

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

    How can I check if TP has changed?

    Questions & Answers
    3
    4
    602
    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.
    • General Melchett
      General Melchett last edited by

      Hello everyone

      I'd like to check whether TP has changed on any of my trades. When TP is seen to have changed, then I want to send an alert. How can I do this?

      I think first on Tick I have Pass, then modify variables to log current TP

      Then on next Pass I have to check TP but I am not sure how to pass first TP to check take profit block. Can anyone give me some guidance?
      0_1601403967804_screenshot-fxdreema.com-2020.09.29-21_25_41.png

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

        you need to code that with run blocks

        1 Reply Last reply Reply Quote 0
        • General Melchett
          General Melchett last edited by

          I'm not sure how to do that, I've only just started with this. I have no idea what a run block is!

          As far as I know, I need to:

          • Get all the current TPs for each trade (do I do that on Init? or on tick?)
          • For each TP, add it to a variable(?)
          • On tick, check the variable is the same (or different) to the original value
          • If it is the same, do nothing
          • If it is different, then send the alert

          Am I on the right track here?

          l'andorrà 1 Reply Last reply Reply Quote 0
          • l'andorrà
            l'andorrà @General Melchett last edited by

            @learningfx You can create a boolean variable moving from false to true once the SL has been successfully modifed. That you can chek that variable status for any other later checking.

            (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

            (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

            (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

            Online Users

            N
            J
            A
            Z

            18
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors