Reply To: Creating Pullback scan criteria

Optuma Forums Optuma Scripting Creating Pullback scan criteria Reply To: Creating Pullback scan criteria

#53805
DarrenDarren
  • Topics: 56
  • Replies: 464
  • Posts: 520

Hi Tonia,

You can use the TIMESINCESIGNAL() function (see examples here and here).

It’s always good practice to break things down in to the separate components as a Show Bar – so you can verify that the script formulas are doing what you want them to do. In this example the green Show Bars are the new 52 week high closes (Y1), and the red ones are the new 20 day lows(L20). The green shaded areas are when the lows occur within 50 bars of the new highs, created using a Show View tool with the following formula (and true/false in the watchlist column).

Capture

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close