Rank: Newbie
Groups: Registered, Registered Users Joined: 8/12/2010(UTC) Posts: 4
|
What function can I use to have a an ATR stop line only increase in value? I have an IF command now, but it is not working properly, Thank you.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
Was thanked: 3 time(s) in 3 post(s)
|
Max(ATR(1),Ref(ATR(1),-1)) {For going up}
Min(ATR(1),Ref(ATR(1),-1)) {for going down}
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 8/12/2010(UTC) Posts: 4
|
Henry, okay when add that to my Chandelier formula I get a very low value, for example on SPY it has a value of 2.2 Here is my complete formula if you can help further, thank you! Mark
atrperiods:=Input("Enter ATR periods: ",1,100,21);
multiplier:=Input("Enter ATR multiplier: ",1,10,3);
Chandelier:=(HIGH-ATR(atrperiods)*multiplier);
Max(ATR(1),Ref(ATR(1),-1))
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.