|
Juliettpapa
2011-04-17 07:12:33
|
|
I want to have a SMA in the same pane as my chart.
When I drag the SMA in my chart it is not seen.
When making double click, it creates a new pane.
How can I get a SMA in the same pane as my chart?
http://screencast.com/t/DDuCKiP4M
Joerg
|
|
|
|
QuantShare
2011-04-18 04:27:21
0
|
|
It is displayed correctly here.
Please right click on the chart, select "Edit formula", click on the left/right arrows to select "Simple Moving Average", then send me the formula.
|
|
|
|
|
QuantShare
2011-04-18 11:15:00
0
|
|
The left/right arrows are located before "Default" (Just before "3 Formulas")
|
|
|
|
Juliettpapa
2011-04-18 11:34:25
0
|
|
Ha ha! Blind men trading stocks..... :-)
Here it is:
//Simple Moving Average
indicator = Sma(14);
Plot(indicator,"Simple Moving Average",colorBlue,ChartLine,StyleSymbolNone);
I guess StyleSymbolNone is not the best setting?
Joerg
|
|
|
|
QuantShare
2011-04-18 14:24:35
0
|
|
"StyleSymbolNone" style should be ok. Is there a compilation error when you click on "Update Graph" ?
Try changing the variable "indicator" to something like "a".
a = Sma(14);
Plot(a....
If it doesn't work, change the style to "StyleOwnScale".
|
|
|
|
|
Juliettpapa
2011-04-18 16:16:57
0
|
|
Best Answer
It was somethin with the layout.
After loading another layout and switching back again the sma was back.
Hmmmmm.
Thanks for you help anyway.....
|
|
|
|