Profile Picture

Using indicator as a function?

Posted By zykem 7 Years Ago
Message
Posted Thursday April 01 2010
Hi

I've coded my custom indicator and i'm able to add it to a chart and everything.

Now I would like to develop a trading system using that indicator. How do I declare it in the trading system startup member?

Thank you in advance

Nick
Posted Friday April 02 2010
Make sure you add a reference to your indicator in the trading system. Then you can reference it just like any other indicator.

zykem (4/1/2010)
Hi

I've coded my custom indicator and i'm able to add it to a chart and everything.

Now I would like to develop a trading system using that indicator. How do I declare it in the trading system startup member?

Thank you in advance

Nick
Posted Friday April 02 2010
Here is the help topic on adding a reference to your system.

Daniel
Posted Friday April 02 2010
Thanks a lot guys!

RE is awesome so far, except for getting the daily system breakdown for my 10 etfs over 10 years of historical backtest. Takes about 25min to produce the results.
Posted Friday April 02 2010
okay, after adding my indicator as a reference, i am getting this following error when running the system:

Inner Exception:
An exception of type System.TypeLoadException was thrown.
Could not load type 'AggZ' from assembly 'AggZ, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
at MySymbolScript..ctor()

All I'm doing is defining the indicator in the MySymbolScript section as follows:-

   AggZ AZ = new AggZ(10, 200);

Thanks
Nick
Posted Friday April 02 2010
ok, figured it out. My AssemblyInfo.cs file was not updated.


Similar Topics


Reading This Topic


2005-2017 © RightEdge Systems