Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entry on open of next bar

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

    #16
    Kate,

    I have done as you suggested and used print statements to confirm underlying values and the interesting thing is that the indicator is painting the bar outline when the RSI value is 26+/- when the requirement is <= 25 but no signal is created for the Strategy to pick up. It works perfectly when the RSI value is <= 25.
    As regards the Current Bar #'s jumping around, you have probably hit the nail o the head because the strategy has two Added Data Series. I'm not sure that I can provide 'sample' script but now that you have provided a plausible explanation it's probably not important anyway because it was not affecting the operation of the strategy anyway. I was trying to define what I was looking at. Since I have your attention, In my script I have two scenarios for entries. Is it possible to change the Profit target and possibly the stop for only the second scenario? I think things are coming together with the extensive use of Print statements and I usually find it is something dumb that I have let creep in.

    Thanks for all your help..

    Comment


      #17
      Hello galsermil,

      Thank you for your reply.

      Sure, you can use signal names to link entries to exits, so you can have specific stops and targets that are individual to that entry.



      I'm attaching a very simple Strategy Builder script you can look at that uses signal names to match entries and exits. You can hit the Unlock Code button to unlock it to see the code.

      Please let us know if we may be of further assistance to you.


      Attached Files

      Comment


        #18
        The names in Default do not have to agree with those in Configure?

        Comment


          #19
          Hello galsermil,

          Thank you for your reply.

          I do not know what you mean by "The names in Default do not have to agree with those in Configure?" Could you clarify?

          Thanks in advance, I look forward to assisting you further.

          Comment


            #20
            Kate,

            I apologize as I misread the script and the names do match.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NullPointStrategies, Yesterday, 05:17 AM
            0 responses
            63 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            139 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            75 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            45 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            50 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X