Registered User Joined: 2/18/2009 Posts: 9
|
Hi,
How can I add Moving Averages together. Example (Moving Average 3 day Exp + Moving Average 5 day Exp and so on) using real code.
Thanks
|
Registered User Joined: 9/28/2009 Posts: 135
|
Look at the Programmers Manual page 34, that should give you a good start. If you still can't figure out send me an email and I can help, email: jackmanjls@gmail.com.
|
Registered User Joined: 9/28/2009 Posts: 135
|
This is the code:
'# MA3 = indicator.MovingAverage.4
'# MA5 = indicator.MovingAverage.6
plot = MA3.value(1) + MA5.value(1)
The MA3 and MA5 where on the chart and I drag/drop to the real code. After that just a simple plot. Look at the ref manual for details.
|