Diamondjag
 Legend
    Posts: 404
Joined: 3/12/2006
Location: Brighton, Colorado
User Profile |
I'm looking for an OmniLanguage function that would look for a 250 day low then trigger a sell order if the RSI(5) goes above 85 in the next 4 days. I got a start but don't know how to incorporate the RSI within the next four days.
Any help would be appreciated. Thanks.
IF L=LLV(250) and RSI(5) >= 85 Then
Signal = ShortSignal
End If
|