Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

StopLoss

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

    StopLoss

    Hello i would like to ask if there is any way to identify when a stoploss is initiated for later use!

    #2
    Hello Qualitiedx, you can store references for the Set method stoplosses and targets with the concepts shown in this sample:

    Comment


      #3
      thanks Bertrand

      Comment


        #4
        Hello Again!I have another question.
        Is it possible the have entries per direction =1 (all entries)
        and in the 30 minute barsarray0, the conditions to exit will come from the 1 minute barsarray...so you exit on the same 30 minute bar and reenter on the same bar!
        So ...is it possible to have multiple entries in the same direction or is it a bug?i will post picture in a while!
        but does backtest bug when fast trading?is it a known issue or the results a correct because i see taht some trades intersect in time?

        Comment


          #5
          Qualitiedx, if you work from the lower 1 min series bar for entering / exiting you could have multiple trades in a 30 min bar - to clarify what you see the screenshot would help much, so please post it if possible.

          Comment


            #6
            Sure..And thank you for your time!so, here it is!
            in fact it's 2-in-1..It's the problem with the multiple entries and the problem with totime that does not seem to be working..
            Attached Files

            Comment


              #7
              Are you trying to set EntriesPerDirection dynamically outside of the Initialize() method?

              For the ToTime rules - I only see the targets executing out of that time window, that could be the case, as the you only return out of the OnBarUpdate() for that time period but don't cancel any targets working or exit trades then - or would you also see new entries out of your time filter period? Then I would suggest to debug the condition used to understand where it does not work as you would expect on the chart / timeframe used.

              Comment


                #8
                no i have entries per direction inside the initialize!!!!

                as for the time filter i will follow your instruction and try to debug it!

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                649 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                370 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                109 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                574 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                576 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X