Login Page - Create Account

Support Board


Date/Time: Sat, 12 Jul 2025 06:30:26 +0000



Post From: Speed of market

[2025-06-18 09:18:48]
User729516 - Posts: 17
Apologies for the late reply!

Thank you for the quick breakdown of the formula (I actually had to reread the last bit on 3/86400 37 times).

The 2 ways you mentioned are sadly in another chart which cannot be referenced on my 5 min candles.

Hence, why I tried to do this:

Added the Number of Trades study.

Added the Color Bar Based on Alert Condition

- Added the alert: AND(ID1.SG1 / (FRACTIME(BARDATETIME - BARENDDATETIME)) (I don't have the 86400 like you wrote in the post above because I want the seconds assuming I read up correctly)



Since you said BARENDDATETIME is not only the close time of the bar but also the last updated time every millisecond, I suspect this'll work:

1. Add Number of Trades study. (Refer to this as ID1.SG1)
2. Add Color Bar Based on Alert Condition and put in this formula: AND(FRACTIME(BARENDDATETIME)-BARTIME<=3/86400, ID1.SG1>=2000)

I have not tried this yet so I'll update once I do so!