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.