Login Page - Create Account

Support Board


Date/Time: Sat, 12 Jul 2025 06:28:07 +0000



Post From: Speed of market

[2025-06-18 12:57:05]
Sawtooth - Posts: 4238
Your formula, on a 5 min chart...
=AND(FRACTIME(BARENDDATETIME)-BARTIME<=3/86400, ID1.SG1>=2000)
...can only be TRUE in the first 3 seconds of only the current 5 min bar.

So you could only get an alert once every 5 min, at the most.

FYI, you don't need to add the Number of Trades study, unless you want to see a display of its value:
=AND(FRACTIME(BARENDDATETIME)-BARTIME<=3/86400, NT>=2000)
Study/Chart Alerts And Scanning: Available Main Price Graph Identifiers/Variables

The 2 ways you mentioned are sadly in another chart which cannot be referenced on my 5 min candles.
Try this:
- Add a Number of Trades per Bar chart, set to 2000 trades.
- Add the Color Bar Based On Alert Condition study, using this formula on the Alerts tab:
=FRACTIME(BARENDDATETIME)-BARTIME<=3/86400)
- On the 5 min chart, add the Study/Price Overlay study, referencing the Color bar study on Number of Trade per Bar chart.

This can alert multiple times, in only the current 5 min bar.
Previous bars will show where it was TRUE when the bar closed.
Date Time Of Last Edit: 2025-06-18 14:28:51