GANN HILOW for tradestation

post your indicators here

Moderator: moderators

italiantrader
rank: <50 posts
rank: <50 posts
Posts: 12
Joined: Thu May 17, 2007 11:58 am
Reputation: 0
Gender: None specified

GANN HILOW for tradestation

Postby italiantrader » Fri Jul 16, 2010 12:51 pm

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 65 times

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
flinux
rank: 150+ posts
rank: 150+ posts
Posts: 219
Joined: Wed May 27, 2009 9:52 pm
Reputation: 0
Gender: Male
Contact:

Postby flinux » Sun Jul 25, 2010 10:32 pm

Metatrader di per se permette di disegnare GANN e scrivendo un apposito indicatore sarebbe possibile farlo disegnare automaticamente dall'high al low. Non so se qui qualcuno usa ancora tradestation.
So faith, hope, love remain, these three; but the greatest of these is love. - 1 Corinthians 13:13

Knoxy
rank: <50 posts
rank: <50 posts
Posts: 1
Joined: Tue Jul 27, 2010 12:26 am
Reputation: 0
Gender: Male

Postby Knoxy » Tue Jul 27, 2010 12:30 am

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

italiantrader
rank: <50 posts
rank: <50 posts
Posts: 12
Joined: Thu May 17, 2007 11:58 am
Reputation: 0
Gender: None specified

Postby italiantrader » Wed Jul 28, 2010 8:54 am

thanks

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “Tradestation indicators”