Reply To: Number of Signals since Jan 2019

Optuma Forums Optuma Scripting Number of Signals since Jan 2019 Reply To: Number of Signals since Jan 2019

#63808
Matthew
  • Topics: 5
  • Replies: 381
  • Posts: 386

Hi,

The ACC function is working as expected, it only restarts the count once the signal occurs again.  You can achieve the result you are after by adding a condition that the count only occurs when the Swing is down.

Here is a quick example using a Gann Swing setup:

On the chart it looks like this:

Ex1

The green shaded zone is when the swing is down, the red shaded zones are when the close crosses below the 50SMA.  The Show View at the bottom (gold) counts only the crosses that occur when the swing is down.

Pin It on Pinterest