OmniTrader Forum - OmniTrader General Discussion
Rhinohull(10) change from up (blue) to Red (down)

^ Top
Michael1

Posts: 20

Joined: 6/22/2005
Location: Auckland NZ

User Profile
 
Subject : Rhinohull(10) change from up (blue) to Red (down)
Posted : 6/4/2024 1:45 AM
Post #48919

Can anyone help with omnilanguage exit ?

exit long Trade when:
Rhinohull(10) change from up (blue) to Red (down)
thanks
Mike
Attached file : Capture.JPG (11KB - 160 downloads)

^ Top
Mel

Posts: 291

Joined: 12/30/2003
Location: Kensington

User Profile
 
Subject : RE: Rhinohull(10) change from up (blue) to Red (do
Posted : 6/7/2024 12:26 PM
Post #48920 - In reply to #48919

Try this

if Signal = LongSignal then
if Rhinohull(10)[1]>Rhinohull(10) andalso Rhinohull(10)[1]>=Rhinohull(10)[2] then
Signal = ExitSignal
end if
end if



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