Very busy preparing a few stuff for Black Friday but wanted to remind that I still know Pinescript and how to step up my game :)
My master RicardoSantos once again showed me how to push the pinescript limits one step/dimension further. Kudo also to my client (Judy) for this amazing idea.
In that case, I'm comparing 5 EMAs relatively to each other and display: - a square if they're stacked properly - a triangle if two of them are stacked properly - a dash otherwise
For those interested, the conditions are in the f_securitys function.
I posted in the past a few screeners using labels but we're limited to 50 labels per script. There isn't such limitation when using the plotshape function - giving us more complete screeners. #uhuuuu
I'll post a few more examples this week with different trading strategies/combinations. The possibilities here are (close to) limitless. I'm using the security built-in function to call external assets (here different forex pairs) and we're limited to 40 security calls per script. But nothing preventing us from duplicating the same script a few times and calling different assets each time :) If you'd like to display 10 forex pairs, you only need to add that script on your chart twice and select 5 pairs for the first panel, 5 other pairs for the second panel.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. You can favorite it to use it on a chart.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.