Click here to Login





                                                   Error in formula

  0

0
Bryan Pettitt
2011-03-04 02:02:38


I am getting an error in a formula when using extern symbols as inputs to a neural network. The error is:
Syntax error on "^", state 403, expecting: PLUS MINUS NEG .... Error while compiling formula

An example of some of the external symbols I am trying to use as inputs are:
Extern Symbol Symbol: ^DJT - Field: close
Extern Symbol Symbol: ^DJI - Field: volume

Also, is there a way to define an input to the neural network as the 30 day moving average of the volume from an external symbol (e.g. MvAvg(30, DowIndustrial, Volume)?

Thanks



QuantShare
2011-03-04 03:47:05

  0

Best Answer
This problem was fixed few days ago. The fix will be available in the next release.

- Instead of using "External Symbol" type, select "Formula" then type: GetSeries("^DJT", close) or GetSeries("^DJI", volume)

- To add this SMA input, select "Formula" then type:
sma(GetSeries("^DJI", volume), 30)




No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Standard Error of the Estimate of a Regression Line
Black-Scholes Option Pricing Model formula
Standard Error Bands
PREV - Previous value of the same formula
Formula & Symbol Switcher

How-to Lessons
How to create a formula
How to create a watchlist
How to drag & drop indicators in charts
How to create histogram charts
How to speed up watchlist and screener plug-ins when working with...

Related Forum Threads
Rules Analyzer - Error in Formula
Error in formula
Formula Error Update canceled
Chande trendscore error formula
<Help> Unable to decipher error in the following formula

Blog Posts
Working with the formula editor
Let me Show You How to Create Hundreds of Profitable Trading Syst...
Download Trading Data using the Pre-Script
Custom Indicator: Accumulation Distribution Line
Troubleshooting a Trading System









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.