Hi all
I’m a bit stuck, I’m hoping someone can tell me what it is that I’m doing wrong!
I am trying to plot a Gann swing chart from a higher timeframe onto a chart using a script, and set a custom colour script so that it behaves like it would do on a regular Gann Swing Chart when the colour is set to display ‘trend’.
I created a simple script set as an indicator, e.g:
GannSwing(Minute(PERIODAMOUNT=240), SWINGCOUNT=3, METHOD=Use Next Bar, USEINSIDE=True, USEBREAKOUT=True);
This plots fine on a lower timeframe chart in a single colour. I am then trying to use this custom colour script with no success (I suspect I’m getting this wrong somewhere)…
GS1 = GannSwing(Minute(PERIODAMOUNT=240), SWINGCOUNT=3, METHOD=Use Next Bar, USEINSIDE=True, USEBREAKOUT=True); SWINGTRENDUP(GS1) == 1 and CLOSE() > 0
This seems to work OK with a Gann Swing Chart on the default (same) timeframe but I can only use single colour when overriding the timeframe. Can anyone point out what I’m doing wrong here?
All the best
Jonathan