Screener Symbols
Forums › ProRealTime English forum › ProScreener support › Screener Symbols
- This topic has 7 replies, 3 voices, and was last updated 4 years ago by deletedaccount14122020.
-
-
04/08/2020 at 12:15 PM #125208
Hello,
When the conditions of a Screener are met is it possible to add some code which would show a symbol on the chart confirming the event.
Any sort of symbol would be good. This is similar to the arrows which show on the chart when an Alert is triggered.
Any advice would be appreciated
04/08/2020 at 1:05 PM #125220No, it’s not possible.
Screeners can only highlight new instruments in a list and beep.
04/08/2020 at 1:27 PM #125225OK, many thanks for clarifying that.
04/08/2020 at 4:40 PM #125278You could set up the same conditions on a Chart / Indicators and then use the symbol you can set up when an Alert is triggered (see red arrowhead on attached).
1 user thanked author for this post.
04/08/2020 at 5:57 PM #125302Many thanks for the Chart/Indicator suggestion which never occurred to me.
I’ll give this a go and submit my feedback
04/08/2020 at 6:21 PM #125307I’ve set up the Screener as an Indicator which works correctly showing 1 = TRUE and 0 = FALSE but I’m not sure how I can set this up to show as a symbol on the main chart.
Any advice appreciated
12345678910111213141516171819202122232425//TRADE ENTRY INDICATOR//HEIKEN ASHI CALCULATIONxClose = (Open+High+Low+Close)/4 //Heikin Ashi Close priceif(barindex>2) thenxOpen = (xOpen[1] + xClose[1])/2 //Heikin Ashi Open priceendifindicator1 = SAR[0.02,0.02,0.2] //Parabolic SARsto = Stochastic[14,3](close) //Stochastic %Ksignal = average[5](sto) //Stochastic %Dc3 = indicator1 < close //Parabolic SAR below Closec4 = indicator1 > close //Parabolic SAR above Closec5 = sto > signal //%K above %Dc6 = sto < signal //%K below %Dc7 = xClose>xOpen //Green Haiken Ashi candlec8 = xClose<xOpen //Red Haiken Ashi candleTradeEntry = (c3 AND c5 AND c7) OR (c4 AND c6 AND c8)Return TradeEntry04/08/2020 at 7:13 PM #125317For clarity of messages on ProRealCode’s forums, please use the “insert code PRT” button to separate the text of the code part! Thank you! 🙂
Try this, if it’s what you want:
123456789101112131415161718192021222324252627//TRADE ENTRY INDICATOR//HEIKEN ASHI CALCULATIONxClose = (Open+High+Low+Close)/4 //Heikin Ashi Close priceif(barindex>2) thenxOpen = (xOpen[1] + xClose[1])/2 //Heikin Ashi Open priceendifindicator1 = SAR[0.02,0.02,0.2] //Parabolic SARsto = Stochastic[14,3](close) //Stochastic %Ksignal = average[5](sto) //Stochastic %Dc3 = indicator1 < close //Parabolic SAR below Closec4 = indicator1 > close //Parabolic SAR above Closec5 = sto > signal //%K above %Dc6 = sto < signal //%K below %Dc7 = xClose>xOpen //Green Haiken Ashi candlec8 = xClose<xOpen //Red Haiken Ashi candleTradeEntry = (c3 AND c5 AND c7) OR (c4 AND c6 AND c8)IF TradeEntry THENDRAWTEXT("█",barindex,low - 20*pipsize) coloured(238,238,0,255)ENDIFReturn04/08/2020 at 7:36 PM #125323Many thanks. Now I understand the code I can format it to my requirements
-
AuthorPosts
Find exclusive trading pro-tools on