Two MA Cross Pivots

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Two MA Cross Pivots

Postby Apprentice » Tue Dec 03, 2013 7:59 am

MA Cross Pivots.png

Indicator will draw vertical & horizontal line for each cross between two moving averages.
Two MA Cross Pivots.lua
(8.31 KiB) Downloaded 780 times

Two MA Cross Pivots (Stable).lua
(8.38 KiB) Downloaded 784 times


The indicator was revised and updated
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA Cross Pivots

Postby speakinmymind » Tue Dec 03, 2013 10:00 am

The lines seem to dissappear therefore not always capturing every cross. Color of lines seem to change as well.

These issues are especially present when scrolling in/out.

Thanks
speakinmymind
FXCodeBase: Graduate
 
Posts: 320
Joined: Thu Feb 28, 2013 8:18 am

Re: Two MA Cross Pivots

Postby Apprentice » Tue Dec 03, 2013 10:50 am

Until fix, u can use less precise, stable version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA Cross Pivots

Postby speakinmymind » Tue Dec 03, 2013 7:49 pm

Thanks! Greatly appreciated!
speakinmymind
FXCodeBase: Graduate
 
Posts: 320
Joined: Thu Feb 28, 2013 8:18 am

Re: Two MA Cross Pivots

Postby speakinmymind » Wed Dec 04, 2013 12:15 am

When I use the pivot method that looks back a number of crosses I keep getting an error.

When I use the pivot method that uses on chart crosses everything is fine.

Please help, thanks!!
speakinmymind
FXCodeBase: Graduate
 
Posts: 320
Joined: Thu Feb 28, 2013 8:18 am

Re: Two MA Cross Pivots

Postby Apprentice » Wed Dec 04, 2013 1:12 am

As u i wrote until fix, use stable version.
Or redownload, to make sure u will have newest version of indicator.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA Cross Pivots

Postby speakinmymind » Wed Dec 04, 2013 1:59 am

Apprentice wrote:As u i wrote until fix, use stable version.
Or redownload, to make sure u will have newest version of indicator.


I tried redownloading the stable version again. The issue is that it seems to support a limited number of lookback crosses.

I would set a number, say 12 crosses, it will usually error.

If it does not error, then changing timeframes (for the chart not indicator) seems to cause it to error.
speakinmymind
FXCodeBase: Graduate
 
Posts: 320
Joined: Thu Feb 28, 2013 8:18 am

Re: Two MA Cross Pivots

Postby speakinmymind » Wed Dec 04, 2013 2:08 am

I have found the cause and fix!!!

This indicator needs all of the bars loaded required to complete your requested cross count.

If this indicator errors, scroll out as far as possible to load as many bars as you can, then open the indicator and hit ok again!


I guess a cosmetic request would be to make this automatic by having the indicator in loading mode somehow to prevent the error.

Thanks again!!! Great indicator!!
speakinmymind
FXCodeBase: Graduate
 
Posts: 320
Joined: Thu Feb 28, 2013 8:18 am

Re: Two MA Cross Pivots

Postby evgeniyn » Wed Dec 04, 2013 3:38 am

Thank you, Apprentice.
Some strange behavior of Pivot Line Style in stable version. Line style always shown as +1 to selected style (for example Solid shown as Dashed, Dashed as Dotted, etc).
evgeniyn
 
Posts: 44
Joined: Fri Dec 28, 2012 1:27 am

Re: Two MA Cross Pivots

Postby speakinmymind » Thu Dec 05, 2013 1:47 pm

Could you please create a strategy that buys on the green line (ask price only) and sells at the red line (bid price only) for user defined MVA's and lookback crosses. Thanks!!
speakinmymind
FXCodeBase: Graduate
 
Posts: 320
Joined: Thu Feb 28, 2013 8:18 am

Next

Return to Custom Indicators

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot], Majestic-12 [Bot] and 168 guests