Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

better understanding the Renko Trading Strategy NT8 - RenkoStrategy

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

    better understanding the Renko Trading Strategy NT8 - RenkoStrategy

    greetings !

    i would like to add a couple items to this existing strategy found here - https://ninjatraderecosystem.com/use...-strategy-nt8/ created by NinjaTrader_Jim

    1 - a check for certain trading times according to a schedule
    2 - a sound notification played each time the trailing stop moves - same as the ATMs

    in trying to figure this out i was surprised to find several arrays used in the code and could not locate where the trailing stops were generated besides the initial call to settrailstop().. is there a way to enable the ca-ching sound with this ? the reference text doesnt address..

    i understand basically what an array is but confused why it was utilized.. would you kindly describe why several array structures are used in this strategy.. what does each do ? ideally comments could be located within the script code and attached to this forum to describe workings ?

    thanks so much !

    #2
    Hello jazzydee,

    Thank you for your note.

    As far as setting up time filters, I like to create those in the Strategy Builder then unlock the code and copy my created filter conditions into my strategy.

    An example of setting up a time filter in the Strategy Builder may be found here:



    There would not be a direct method to play a sound when SetTrailStop updates. You could create logic that each time a new price that's higher than the highest seen since the entry for a buy is seen, or vice versa for a short position, then play a sound using PlaySound(), but there's no overload for SetTrailStop to do that automatically.

    As far as the arrays, these are used to hold bools that are assigned when the bars are checked to see if they are rising or falling. These are then checked to see whether they are all true for the last EntryStrength (or ExitStrength, if UseExitStrength is true) and if so, an order appropriate to the direction of the trend is submitted.

    SetTrailStop would need to only be called once, in State.Configure, and would then apply to all trades taken if UseTrailStop is true.

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

    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
    135 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