Gamestudio Links
Zorro Links
Newest Posts
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Grant), 4,590 guests, and 15 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Geir, ondrej, mredit, vestriaa, Lukudo
19206 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Keltner Channel #454323
09/04/15 09:59
09/04/15 09:59
Joined: Sep 2015
Posts: 3
N
Notch Offline OP
Guest
Notch  Offline OP
Guest
N

Joined: Sep 2015
Posts: 3
Hi,

I am trying to create simple technical rule, for example:

bool LongEntryCondition = ((Keltner_Lower(Price, 23, 0.09) Crosses Above "Whatever"

I know how to plot the Keltner bands (see Exhibit B) but I don't know to reference them in a rule similar Exhibit A and can't find any relevant examples in the manual or on this forum. Please help.

Exhibit A:
bool LongEntryCondition = ((Keltner_Lower(Price, 23, 0.09) Crosses Above "Whatever"


Exhibit B:
Keltner(Price,23,0.09);
plot("KeltnerUp",rRealUpperBand,BAND1,0x800000FF);
plot("KelterDown",rRealLowerBand,BAND2,0x0000CC);

Re: Keltner Channel [Re: Notch] #454326
09/04/15 10:33
09/04/15 10:33
Joined: Jul 2000
Posts: 28,093
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,093
Frankfurt
It's the same as in Workshop 5.

Keltner(...);
vars KeltnerLower = series(rRealLowerBand);
if(crossOver(KeltnerLower,Whatever))
...

Re: Keltner Channel [Re: jcl] #454328
09/04/15 10:51
09/04/15 10:51
Joined: Sep 2015
Posts: 3
N
Notch Offline OP
Guest
Notch  Offline OP
Guest
N

Joined: Sep 2015
Posts: 3
Thank you.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1