StockFetcher Forums · General Discussion · What is wrong with the syntax?<< >>Post Follow-up
push5280
98 posts
msg #114191
Ignore push5280
6/22/2013 7:13:21 PM

Can someone tell me what I am doing wrong? I keep getting errors on lines 5-9
Fetcher[
set{RCMA1, cma(ROC(10),10)
set{RCMA2, cma(ROC(15),10)
set{RCMA3, cma(ROC(20),10)
set{RCMA4, cma(ROC(30),15)
set{KSTa, RCMA1 + RCMA2}
set{KSTb, RCMA3 + RCMA4}
set{myKST, KSTa + KSTb}
set{mySL, cma(myKST,9) }

draw myKST
]



four
4,005 posts
msg #114193
Ignore four
modified
6/22/2013 8:23:59 PM

Close the SET with a } ... first 4 lines are missing }

All is fine...


Fetcher[
set{RCMA1, cma(ROC(10),10)}
set{RCMA2, cma(ROC(15),10)}
set{RCMA3, cma(ROC(20),10)}
set{RCMA4, cma(ROC(30),15)}
set{KSTa, RCMA1 + RCMA2}
set{KSTb, RCMA3 + RCMA4}
set{myKST, KSTa + KSTb}
set{mySL, cma(myKST,9)}

draw myKST
]



push5280
98 posts
msg #114206
Ignore push5280
6/23/2013 9:27:12 PM

Thx Four...your eyes are appreciated!


StockFetcher Forums · General Discussion · What is wrong with the syntax?<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2016 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus