- This topic has 1 reply, 2 voices, and was last updated 3 weeks ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Optuma Forums › Optuma Scripting › Gann Swing / TrendUP
Hey there,
I am trying to eliminate a buy signal plotting unless Gann trend is up, however I still get buy signals in clear downtrends. Is there something I am missing?
1 2 3 4 |
S1 = GANNSWING(SWINGCOUNT=5); SMI(DEFAULT=SMI, BARS=14) CrossesAbove -75 and SWINGTRENDUP(S1); |
Yet I get things like this.. any advice welcome please 🙂
Hi James,
Note that a swing trend is different from swing direction, so the trend can be up even though the current direction is down (for an explanation of the difference click here).
Try using SWINGUP(S1) instead of SWINGTRENDUP(S1) – but note that dealing with swings is tricky because you have to wait for confirmation of the swing. In this example the current confirmed swing is up when the SMI has crossed above -75, so the signal is taken:
However, a few days later the downswing is confirmed, making the entry invalid:
Read this article about how swings are calculated and the difference between SwingLists and BarLists which may help you understand more:
https://forum.optuma.com/topic/help-with-gann-swing-pattern-solution-please/#post-50551
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. |