Support Board
Date/Time: Tue, 04 Nov 2025 03:26:13 +0000
Post From: ACSIL help please. :)
|   [2023-03-30 00:11:58]     |  
| TriStar Trading - Posts: 184 | 
| 
                I am trying to determine if the delta difference for the current bar is the greatest amount of difference over the last X number of bars. The hitch I am running in to is that if the current bars delta is positive I only want to compare that to X number of positive delta difference bars lokking backwards. So I'm trying to compare positve delta to only positive delta and negative delta to only negative delta. I have this mostly working in a For loop but looping back I don't know how distinguish the positive and negative delta dif bars so as not increment the counter for example if the current bar is positive delta dif and a bar looking back is negative delta. If this is the case I would want to skip that bar and not increment the counter. Right now it only goes back X number of bars regardless of positive ir negative delta dif. Thanks! Mike
                 | 
        
