Login Page - Create Account

Support Board


Date/Time: Wed, 03 Sep 2025 17:32:37 +0000



Post From: For Reversal Bars - identifying the UP bar and the DOWN bar

[2025-07-14 04:15:18]
HumblyTrading - Posts: 209
Hello John & Team,
May I ask if the Reversal Bar logic is accessible as ASCIL code?
I would like to fine tune how it works and make an alternate solution, if possible, for certain issues regarding gaps and spread, etc.?

Also, in terms of identifying the Up and Down for anyone who cares, This approach works most of the time:

Create a Spreadsheet Formula to identify Most of the Up Signals, such as this one as ID1
IF(H - C <= 4 * TICKSIZE, C, IF(SG1[-1] = 0, C, 0))

Create a Spreadsheet Formula to identify Most of the Down Signals under ID1 as ID2:
IF(ID1.SG1[-1]<>0,C,IF(C - L <= 4 * TICKSIZE, C, IF(SG1[-1] = 0, C, 0)))

Then, Create ID3 which capture the alternating nature and fills in any odd candles that the first 2 do not capture as ID3:
IF(ID1.SG1[-1]>0,-1,IF(ID2.SG1[-1]>0,1,0))

This works very well for Gold, ES, NQ, but needs to be altered for 6 series contracts due to the TICKSIZE...

Thank you,
Mike