- Topics: 66
- Replies: 666
- Posts: 732
The script formula above was used in a Show Plot tool. Change the dh1 and dl1 variables in the above to use the timeframe of the chart by removing the weekly w1 variable, and set the calculation to 3 bars:
dh1 = MA(CALC=High, BARS=3);
dl1 = MA(CALC=Low, BARS=3);
If you are interested in learning more about the power of the Optuma scripting language see the video tutorial courses under the Help > Scripting Resources menu in the software.
- This reply was modified 2 weeks ago by Darren.