MACD price projection line

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: MACD price projection line

Postby fortcentral » Mon Jan 14, 2019 8:55 am

Dear Apprentice,
Thank you so much for the quick turnaround on this indicator request! The programmed indicator was not matching my manually calculated line and upon checking it seemed to be missing two sets of brackets in the final trendline formula (line 189 of code) outlined below:
| | | |
--> (SIGNAL[period]-((1-k["SN"])*internal["SN"][period])+((1-k["LN"])*internal["LN"][period]))

Once put in, the indicator is working great!

I was wondering if there was an easy way to turn-off the MACD signal line and histogram display panel at the bottom and just display the MACD price projection line display on a price chart? This would help declutter the screen with one less indicator panel, when just the projection line display is required.

Regards,
Fortcentral
fortcentral
 
Posts: 47
Joined: Wed Oct 17, 2018 9:34 am

Re: MACD price projection line

Postby Apprentice » Mon Jan 14, 2019 9:20 am

So,
Projection[period+1]=(SIGNAL[period]-((1-k["SN"])*internal["SN"][period])+((1-k["LN"])*internal["LN"][period]))/(k["SN"]-k["LN"]);

we will be used?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MACD price projection line

Postby fortcentral » Tue Jan 15, 2019 9:59 am

Yes, correct! Thank you for the update - it is working great now. Really appreciate your help with this indicator.
fortcentral
 
Posts: 47
Joined: Wed Oct 17, 2018 9:34 am


Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 34 guests