Need Help RTL

Login or Register

Please login or register in order to view and post in the Forum.

2 posts / 0 new
Last post
travis wheat
Last seen: 2 years 5 months ago
Joined: 05/11/2016 - 11:55
Need Help RTL

I made an indicator that takes the difference of 2 moving averages. I would like to make 2 more indicators that take the close value of each bar, of my indicator, and add it or subtract it based on its value, back 10 days or so.

This other indicator I am trying to make would only be charting the difference in the last bar of my indicator and the current bar.

Can anyone help with this, much appreciated!

0
cpayne
Last seen: 1 year 8 months ago
Joined: 03/30/2009 - 00:00
Syntax Help - Difference of MACD

If you've created a custom indicator already with syntax..

MA_A - MA_B

which takes the difference between 2 MAs.... 

You can now create another custom indicator with syntax....

CI - CI.10

and that will give you the difference between your CI and the CI 10 bars ago.

If you want to do it all in once custom indicator....

(MA_A - MA_B) - (MA_A.10 - MA_B.10)