Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,038 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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