Reply To: ADX script

Optuma Forums Optuma Scripting ADX script Reply To: ADX script

#46799
Matthew
Matthew
  • Topics: 3
  • Replies: 38
  • Posts: 41

Hi Peter,

Are you applying the Show Bar to the bar chart of the ADX tool itself?  If applying the Show Bar to the chart, the following will show an arrow when the ADX line is higher than the previous day.

ADX(BARS=14).ADX IsUp

If you are applying the Show Bar to the ADX itself, you’d need to use this script:

CLOSE() IsUp

This is due to the Show Bar using the ADX as the underlying data when it is applied directly to the indicator, rather than to the chart.

Ex1

Pin It on Pinterest

Share This

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