Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

trade based on previous price

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    trade based on previous price

    I'm trying to get some help on strategy builder on how to build a strategy that if Open[0] > Open[1] go long and if Open[0] < Open[1] go short. However with the condition that can be seen on the attached image strategy2.png I get the output that can be seen on the attached image strategy.png. I need that once placed the strategy it runs unitl the opposite condition verifies and not place an order in every single bar.

    I was looking for some advice and please don't redirect me to any link or video because I already have seen them and I still don´t get how to bypass this.


    Thank you
    Attached Files
    Last edited by ampf27; 09-01-2021, 10:36 AM.

    #2
    Hi ampf27, thanks for posting.

    It seems your trailing stop is not configured properly. I attached a strategy that does the same thing with a 20$ trailing stop. Please see attached.

    Kind regards,
    -ChrisL
    Attached Files

    Comment


      #3
      Thank you very much


      This is what I was looking for.

      Comment


        #4
        Tell me please the 20usd trailing stop is per entry/contract or is total amount?

        Comment


          #5
          Hi ampf27,

          The stop loss will be applied per entry. If you submit two entry orders, there will be a unique stop for each entry. If you submit a 2 lot order, there will be only 1 stop.

          Kind regards,
          -ChrisL

          Comment


            #6
            So, if I trade lets say, 2 contracts, its a stoploss of 20usd for that order and not 20usd for each of the contracts (40usd) right?

            Comment


              #7
              Hi ampf27, yes the 2 contract order will have a stop of 20 dollars.

              Comment


                #8
                Thank you once again for the support

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by NullPointStrategies, Yesterday, 05:17 AM
                0 responses
                71 views
                0 likes
                Last Post NullPointStrategies  
                Started by argusthome, 03-08-2026, 10:06 AM
                0 responses
                143 views
                0 likes
                Last Post argusthome  
                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                0 responses
                76 views
                0 likes
                Last Post NabilKhattabi  
                Started by Deep42, 03-06-2026, 12:28 AM
                0 responses
                47 views
                0 likes
                Last Post Deep42
                by Deep42
                 
                Started by TheRealMorford, 03-05-2026, 06:15 PM
                0 responses
                51 views
                0 likes
                Last Post TheRealMorford  
                Working...
                X