Displaying trading system indicators

Forums ProRealTime English forum ProRealTime platform support Displaying trading system indicators

Viewing 2 posts - 1 through 2 (of 2 total)
  • #81822

    I have recently completed both the beginner and advanced video courses and will probably need to do them again to better grasp all the content. I also have hard copies of the three programming guides.  The ProOrder guide recommends that indicators are coded in the trading system rather than ‘calling’ them, however when I do this the return command isn’t accepted and I need to display the indicator and adjust the variables separately on the chart.  So I’m unclear the best way to integrate ProBuilder, ProScreener and Pro Order or whether they need to be kept separate.  I’m sure more practice will help – just thought I’d ask anyway!

     

    #81825

    RETURN is accepted only by ProBuilder when creating indicators.

    If you embed your code in a strategy (or within a Screener or another Indicator) RETURN is not accepted because it is useless. Its purpose is to RETURN values tu the CALLer, since it’s not being called RETURN is not needed.

    If your indicator is (very simple and stupid):

    when you embed it it in a screener, rather than CALL it, you’ll have to write:

    this will make execution and backtests much faster.

    This should be supeseded in a future release, since it’s rumoured PRT is going to automatically load indicators with your code at launch time, thus making them like a common function in programming languages.

     

     

    2 users thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login