Rank: Member
Groups: Registered, Registered Users Joined: 8/11/2013(UTC) Posts: 24 Location: MUMBAI
Was thanked: 1 time(s) in 1 post(s)
|
Hello
I have created a formula with the name "profit1" I want to know:
1.In the last 35 bars,
2.The fml("profit1") should come at least 4 times, (Sum(fml("profit1"),35)>=4)
3.The closing price of the present bar should be more than the "highest high" of the fml("profit1") of the last 35 bars.{C>HHV(FML("PROFIT1"),35) is not giving the desired result)...} Kindly help.
Thanks in advance.
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 92 times Was thanked: 155 time(s) in 150 post(s)
|
Originally Posted by: PROFIT306 Hello
I have created a formula with the name "profit1" I want to know:
1.In the last 35 bars,
2.The fml("profit1") should come at least 4 times, (Sum(fml("profit1"),35)>=4)
3.The closing price of the present bar should be more than the "highest high" of the fml("profit1") of the last 35 bars.{C>HHV(FML("PROFIT1"),35) is not giving the desired result)...} Kindly help.
Thanks in advance.
Hello, You would probably want to use the REF function around the HHV function because HHV will include the current price bar. For example: Code:C>Ref(HHV(FML("PROFIT1"),35),-1)
|
|
|
|
Rank: Member
Groups: Registered, Registered Users Joined: 8/11/2013(UTC) Posts: 24 Location: MUMBAI
Was thanked: 1 time(s) in 1 post(s)
|
|
|
|
|
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.