[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to plot inside a signal?



PureBytes Links

Trading Reference Links

>I tried using plot1 in a signal and got an error mesage.

Yes, that's a terrible restriction in TradeStation.

>How would it be possible to plot something while a strategy is being
>executed?

You have to copy your signal code to an indicator, comment out the
buy and sell orders, and put in your plot statements.  Then insert
the indicator into your chart along with your strategy.  Remember
every time you change a parameter in your strategy you need to
change it in your indicator too.

>Say for example (yes, I know there are other ways) that I would like to
>display the equity curve of the system from within a signal.

There's already an indicator for this: Strategy Equity.  Look for it.

-- 
  ,|___    Alex Matulich -- alex@xxxxxxxxxxxxxx
 // +__>   Director of Research and Development
 //  \ 
 // __)    Unicorn Research Corporation -- http://unicorn.us.com