GANN HILOW for tradestation
Moderator: moderators
-
- rank: <50 posts
- Posts: 12
- Joined: Thu May 17, 2007 11:58 am
- Reputation: 0
- Gender:
GANN HILOW for tradestation
Hello, can someone open this eld file and put it in text format so that I can view it. Thanks.
- Attachments
-
- GANNHILO.ELD
- (18.2 KiB) Downloaded 370 times
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.
Here's my code for Gann Hilo if it helps..
// Indicator Gann HiLo recoded from MT4
// Original is only SMA, this allows different av types
Inputs: Length(20), MAMethod(0);
Variables: Trend(0), HiLo(0), AvHigh(0), AvLow(0);
Trend=Trend[1];
If MAMethod<=0 then begin
AvLow=Average(Low,Length);
AvHigh=Average(High,Length);
end;
If MAMethod=1 then begin
AvLow=XAverage(Low,Length);
AvHigh=XAverage(High,Length);
end;
If MAMethod=2 then begin
AvLow=WAverage(Low,Length);
AvHigh=WAverage(High,Length);
end;
If MAMethod>=3 then begin
AvLow=TriAverage(Low,Length);
AvHigh=TriAverage(High,Length);
end;
if close>AvHigh[1] then Trend=1;
if close<AvLow[1] then Trend=-1;
If Trend=1 then HiLo=AvLow else HiLo=AvHigh;
Plot1(HiLo,"Gann HiLo");
Knoxy
// Indicator Gann HiLo recoded from MT4
// Original is only SMA, this allows different av types
Inputs: Length(20), MAMethod(0);
Variables: Trend(0), HiLo(0), AvHigh(0), AvLow(0);
Trend=Trend[1];
If MAMethod<=0 then begin
AvLow=Average(Low,Length);
AvHigh=Average(High,Length);
end;
If MAMethod=1 then begin
AvLow=XAverage(Low,Length);
AvHigh=XAverage(High,Length);
end;
If MAMethod=2 then begin
AvLow=WAverage(Low,Length);
AvHigh=WAverage(High,Length);
end;
If MAMethod>=3 then begin
AvLow=TriAverage(Low,Length);
AvHigh=TriAverage(High,Length);
end;
if close>AvHigh[1] then Trend=1;
if close<AvLow[1] then Trend=-1;
If Trend=1 then HiLo=AvLow else HiLo=AvHigh;
Plot1(HiLo,"Gann HiLo");
Knoxy
-
- rank: <50 posts
- Posts: 12
- Joined: Thu May 17, 2007 11:58 am
- Reputation: 0
- Gender:
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.