Custom Pro Screener coding is great. However, rather than display the Top X values in the Screener list, I would like to place trades automatically (I’m an experienced coder – so happy to code strategies). I cannot find anywhere that I can grab the output from the ProScreeer of the instruments so that I can pass it to my automated code.
For example:
1
2
3
4
5
6
Example:OversoldRSI
REM Calculate the 14-period RSI
MyRSI=RSI[14]
REM Filter: RSI < 30
Filter=MyRSI<30
SCREENER[Filter](MyRSIAS"RSI")
Now, I would like to take the top 5 Oversold RSI Stocks and place trades automatically via Pro-Real code.
Please assist – how can I get output of the above SCREENER in my code, rather than display it on the screen!
Wow, that’s a real flaw in design that one can’t trade automatically from Pro-Screener’s output. I would have thought that would be quite a fundamental/basic requirement!
I would have thought that would be quite a fundamental/basic requirement!
How would you decide which of the many results of a screener to trade? Set criteria and choose the top result?
Try it a few times on Demo and let us know if it works … set a trade going on the top result (with exit criteria etc) as soon as your Screener gives a result?
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue