OmniTrader Forum - OmniTrader 2021 Technical Support
RangeStop

^ Top
aztrix

Posts: 116

Joined: 6/16/2004
Location: Sydney, NSW, Australia

User Profile
 
Subject : RangeStop
Posted : 9/14/2021 3:21 AM
Post #48269

Howzit Folks?

I noticed a couple of anomalies in the RangeStop #Stop:

1. Unless I don't understand it (quite likely 😆) HHV should be based on High values not Low values
plotprice("hhv", HHV(L,NBars)[1], red )

Shouldnt this be:
plotprice("hhv", HHV(H,NBars)[1], red )

2. Less important as it would have no effect on functionality but it appears there's a mismatch between "NBars" value and comment

Cheers
Aztrix



https://www.omnitrader.com/currentclients/otforum/thread-view.asp?threadid=16463&posts=1