I need someone to help me.
I have Gann Trend Oscillator but I can't find Gann Swing Oscillator.
Re: New Gann Swing Chartist Plan - Gann Trend Oscillator + Gann Swing Oscillator
2im looking for this indicator too, hope someone could share it
Re: New Gann Swing Chartist Plan - Gann Trend Oscillator + Gann Swing Oscillator
3it seems to be the same indicator but with a bigger period. Like 5-10 times bigger
try that and let us know
try that and let us know
Scalping the Century TimeFrame since 1999
Re: New Gann Swing Chartist Plan - Gann Trend Oscillator + Gann Swing Oscillator
4No idea. Having a look through our very old archives I could only find this. Would this be what you're looking for?Macio wrote: Sun Oct 10, 2021 12:43 am I need someone to help me.
I have Gann Trend Oscillator but I can't find Gann Swing Oscillator.
Re: New Gann Swing Chartist Plan - Gann Trend Oscillator + Gann Swing Oscillator
5You're amazing ,Jimmy.Jimmy wrote: Wed Oct 13, 2021 10:01 pm No idea. Having a look through our very old archives I could only find this. Would this be what you're looking for?
Thanks a lot for the indicator.
Re: New Gann Swing Chartist Plan - Gann Trend Oscillator + Gann Swing Oscillator
6Cool, no problems bro

Re: New Gann Swing Chartist Plan - Gann Trend Oscillator + Gann Swing Oscillator
7you're da man ! wow
Scalping the Century TimeFrame since 1999
Re: New Gann Swing Chartist Plan - Gann Trend Oscillator + Gann Swing Oscillator
8Hello Macio,Macio wrote: Sun Oct 10, 2021 12:43 am I need someone to help me.
I have Gann Trend Oscillator but I can't find Gann Swing Oscillator.
do you have the mq4 version of this Gann Trend Oscillator?
I try to search it on google but no luck.
best regards.
Re: New Gann Swing Chartist Plan - Gann Trend Oscillator + Gann Swing Oscillator
9I find someone posted the code, but needs to work with this code to get a final one. I am not coder and i dont know how to explain in detailshinnosuke wrote: Thu May 19, 2022 9:46 pm Hello Macio,
do you have the mq4 version of this Gann Trend Oscillator?
I try to search it on google but no luck.
best regards.

Code: Select all
Sd:= FmlVar("GANN-Swing","TD1") ;
{Swing Change High}
Sch:=If(Sd=1 AND Ref(sd,-1)=-1,
{then}1,
{else}0);
{Swing Change Low}
Scl:=If(Sd=-1 AND Ref(Sd,-1)=1,
{then}1,
{else}0);
{Peak Value}
Pv:=If(Scl=1,
{then}HighestSince(1,Sch=1,H),
{else}0);
{Trough Value}
Tv:=If(Sch=1,
{then}LowestSince(1,Scl=1,L),
{else}0);
{Trend Direction}
Td:=If(H>ValueWhen(1,Pv>0,Pv),
{then}1,
{else}If(L<ValueWhen(1,Tv>0,Tv),
{then}-1,
{else}0));
{UpTrend=1 DownTrend =-1}
Tdv:=ValueWhen(1,Td<>0,Td);
Tdv;
- These users thanked the author sal for the post:
- shinnosuke
"There is NO GOD higher than TRUTH" - Mahatma Gandhi
Re: New Gann Swing Chartist Plan - Gann Trend Oscillator + Gann Swing Oscillator
10Hi sal, thanks for the efforts.sal wrote: Fri May 20, 2022 2:12 am I find someone posted the code, but needs to work with this code to get a final one. I am not coder and i dont know how to explain in detail![]()
And i found this indicator code on tra.....ew forums.
Can this help us to create the mt4 version?
Code: Select all
//@version=4
// Copyright (c) 2019-present, Franklin Moormann (cheatcountry)
// Gann Trend Oscillator [CC] script may be freely distributed under the MIT license.
study("Gann Trend Oscillator [CC]", overlay=false)
inp = input(title="Source", type=input.source, defval=close)
res = input(title="Resolution", type=input.resolution, defval="")
rep = input(title="Allow Repainting?", type=input.bool, defval=false)
bar = input(title="Allow Bar Color Change?", type=input.bool, defval=true)
src = security(syminfo.tickerid, res, inp[rep ? 0 : barstate.isrealtime ? 1 : 0])[rep ? 0 : barstate.isrealtime ? 0 : 1]
length = input(title="Length", type=input.integer, defval=3, minval=1)
hv = highest(src, length)
lv = lowest(src, length)
gto = 0
gto := hv[2] > hv[1] and hv[0] > hv[1] ? 1 : lv[2] < lv[1] and lv[0] < lv[1] ? -1 : nz(gto[1])
sig = gto > 0 ? 1 : gto < 0 ? -1 : 0
alertcondition(crossover(sig, 0), "Buy Signal", "Bullish Change Detected")
alertcondition(crossunder(sig, 0), "Sell Signal", "Bearish Change Detected")
gtoColor = sig > 0 ? color.green : sig < 0 ? color.red : color.black
barcolor(bar ? gtoColor : na)
plot(gto, title="GTO", linewidth=2, color=gtoColor)
- These users thanked the author shinnosuke for the post:
- jonnyfx4711