Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 4/4/2008(UTC) Posts: 10
|
I am gonna make an expert advisor on this code. When Bollinger is inside the keltner channel, paint a red dot with the expert advisor.
Can someone help me?
{ Keltner bands }
KBmid:=Mov(Typ(),20,S);
KBtop:=KBmid+Mov(H-L,20,S);
KBbot:=KBmid-Mov(H-L,20,S);
{ Bollinger bands }
BBtop:=BBandTop(C,20,S,2);
BBmid:=Mov(C,20,S);
BBbot:=BBandBot(C,20,S,2);
{BB inside K}
BBtop < KBtop AND BBbot > KBbot;
|
|
|
|
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)
|
Search the forum for TTM Squeeze.
wabbit [:D]
|
|
|
|
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.