logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Andreal  
#1 Posted : Monday, July 3, 2006 1:29:15 PM(UTC)
Andreal

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 2/6/2006(UTC)
Posts: 15

Hi! I try to make fractals. Here is the formula: [code:1:97fab6127a] fr:=If( H = HHV(H,3) AND H = HHV(Ref(H,+2),3) AND H>Ref(H,+1), {then} H, 0); fr; [/code:1:97fab6127a] So, I what it to draw a "point" on HIGH. It does, but it also draws when inditator is zero. How can I make it show only positive values?
wabbit  
#2 Posted : Monday, July 3, 2006 2:02:25 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
The simple way is to use the formula in a System Expert to place symbols on your chart. wabbit :D P.S. Try not to use forward references. If we were able to see the prices tomorrow then we would never lose money, so, 'shift' all the references back by the appropriate amount. Think about the problem using the same logic, but without predicting the values in the next two bars.
hayseed  
#3 Posted : Monday, July 3, 2006 2:17:40 PM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey andreal..... click on the indicator to view properties...... then under color/style, set it to histogram......h
Andreal  
#4 Posted : Wednesday, July 5, 2006 1:20:17 PM(UTC)
Andreal

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 2/6/2006(UTC)
Posts: 15

OK, I've done it in another way... Anyway, thank you!
wabbit  
#5 Posted : Wednesday, July 5, 2006 1:46:41 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Would you like to share how you resolved the issue? The free exchange of information is how the Forum Members get to learn more about using MS. wabbit :D
hayseed  
#6 Posted : Wednesday, July 5, 2006 3:12:21 PM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey wabbit..... i kinda came close.... setting the indicator to dots, increasing the size to 3 and using value when almost works....h [code:1:653ea692bf] fr:=If( H = HHV(H,3) AND H = HHV(Ref(H,+2),3) AND H>Ref(H,+1), {then} H, 0); ValueWhen(1 , fr,H )[/code:1:653ea692bf]
Andreal  
#7 Posted : Thursday, July 6, 2006 8:15:04 AM(UTC)
Andreal

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 2/6/2006(UTC)
Posts: 15

Hayseed, you are almost right! [code:1:c3f669ab35] frs:=If(HHVBars(H,10)=2 , Ref(H,-2), 0); ValueWhen(1,frs>0 ,frs ) [/code:1:c3f669ab35] Style - "points", and so we get horizontal lines on the level of highs!
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.