- This topic has 2 replies, 2 voices, and was last updated 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Optuma Forums › Optuma Scripting › Gann Swing Custom Colour Scripts
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:
1 2 3 |
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)…
1 2 3 4 |
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
Hi,
Gann Swings plot a bit differently to most other tools. It looks like the custom colour scheme option in this setup is not currently working.
I’ve logged it for the dev team to review in an update.
Hi Matthew
Thanks for doing that – would be a very useful visual aid if this could be enabled.
Best
Jonathan
Cookie | Duration | Description |
---|---|---|
cname | 14 days | This cookie is set by Optuma. The cookies is used to store the users campaign selection for selecting the correct version of Optuma to trial and is "Necessary". |
cookielawinfo-checbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |