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

Re: Two MA Cross Pivots

Postby speakinmymind » Thu Dec 05, 2013 1:49 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

Re: Two MA Cross Pivots

Postby Apprentice » Fri Dec 06, 2013 3:19 am

Basically this is a classic crossover strategy, of two moving averages.
On the forum you will find several implementations.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA Cross Pivots

Postby speakinmymind » Fri Dec 06, 2013 12:40 pm

Can you make it so that a user defined number of lookback crosses are a different color than the rest? Thanks!
speakinmymind
FXCodeBase: Graduate
 
Posts: 320
Joined: Thu Feb 28, 2013 8:18 am

Re: Two MA Cross Pivots

Postby speakinmymind » Sat Dec 07, 2013 5:10 pm

Can you please allow this to support more crosses? Say 1000?
speakinmymind
FXCodeBase: Graduate
 
Posts: 320
Joined: Thu Feb 28, 2013 8:18 am

Re: Two MA Cross Pivots

Postby Apprentice » Sun Dec 08, 2013 6:49 am

Limit increased to 1000.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA Cross Pivots

Postby speakinmymind » Thu Dec 12, 2013 8:59 am

Can you please add the ability to change the style of verticle lines.

Also, can you make it so that the horizontal lines do not extend backwards (into the past)?
speakinmymind
FXCodeBase: Graduate
 
Posts: 320
Joined: Thu Feb 28, 2013 8:18 am

Re: Two MA Cross Pivots

Postby Apprentice » Fri Dec 13, 2013 4:08 am

Pivot Line Style already exists, you can elaborate.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA Cross Pivots

Postby speakinmymind » Tue Dec 17, 2013 12:31 pm

Is it possible to have the most current darker and the further in the past the cross is the lines get lighter?
speakinmymind
FXCodeBase: Graduate
 
Posts: 320
Joined: Thu Feb 28, 2013 8:18 am

Re: Two MA Cross Pivots

Postby Apprentice » Wed Dec 18, 2013 3:51 pm

Two MA Cross Pivots.lua
(9.88 KiB) Downloaded 572 times

Try This Version.
Line thickness is determined by position from the edges of the chart. (X-axis)
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA Cross Pivots

Postby speakinmymind » Wed Dec 18, 2013 11:12 pm

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

PreviousNext

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 53 guests