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 Mindset, 04-21-2026, 06:46 AM
            0 responses
            88 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            134 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            68 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by cmoran13, 04-16-2026, 01:02 PM
            0 responses
            119 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            69 views
            0 likes
            Last Post PaulMohn  
            Working...
            X