Reply To: Bar within % of MA

Optuma Forums Optuma Scripting Bar within % of MA Reply To: Bar within % of MA

#60116
MatthewMatthew
  • Topics: 5
  • Replies: 309
  • Posts: 314

Hi,

The WithinRange() function allows you to find where a value is within x% of another value.  For example a Close within 2% of a Moving Average.

The shaded green zone in the following example shows where the script triggers, when the Close is within 2% of the 80SMA (within the blue dashed lines).

Ex6

More information: https://help.optuma.com/kb/faq.php?id=1038

  • This reply was modified 3 weeks, 2 days ago by MatthewMatthew.

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