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

Notification

Icon
Error

Options
Go to last post Go to first unread
wblam  
#1 Posted : Friday, February 16, 2007 9:17:59 PM(UTC)
wblam

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/25/2006(UTC)
Posts: 79

Hi,

Does any one know to put a shade between two lines like the cloud in the "Ichimoku Kinko Hyo" indicator?

Thanks

wabbit  
#2 Posted : Friday, February 16, 2007 9:43:04 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)
Hi wblam,

Try something like this...

Code:

{my two lines}
x0:=Mov(C,10,S);
x1:=Mov(C,200,S);

{plot the shaded region}
If(x0>x1,If(Mod(Cum(1),2)=0,x0,x1),x0);
If(x0>x1,If(Mod(Cum(1),2)=0,x1,x0),x0);

If(x1>x0,If(Mod(Cum(1),2)=0,x0,x1),x1);
If(x1>x0,If(Mod(Cum(1),2)=0,x1,x0),x1);

{plot the indicators}
x0;x1;


Hope this helps.

wabbit [:D]

wblam  
#3 Posted : Friday, February 16, 2007 10:02:31 PM(UTC)
wblam

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/25/2006(UTC)
Posts: 79

Hi wabbit,

It is what I want. Thank you for your help.

Lam

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.