TradingView
Daveatt
18 Th11 2019 14:01

Ultimate EMA Screener 

Euro Fx/U.S. DollarFXCM

Mô tả

Hello traders

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.

I inspired myself from his script (tradingview.com/script/wwJ7PnGJ-RS-Intraday-Multiple-Instrument-Momentum-Window/) to display multiple assets in the same panel - without breaking the chart scaling.

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.

You're welcome <3

All the BEST
Dave
Bình luận
manojm4
Can we increase the no of symbols for tracking ? Say like upto 40
Daveatt
@manojm4, unfortunately, no, 40 is a pinescript limitation
PaulLucky
Amazing! works like charm :)
paolocatax
very good
RafaelZioni
Look great , you are the best :)
UnheardSheep
Love this indicator, however I couldn't get it to add more tickers... Note states up to 40, just couldn't figure it out
Daveatt
@UnheardSheep, look at what I commented in the code, it's showing how to add up to 9 tickers
this implies knowing a bit of pinescript and understand a source code unfortunately to add up to 40 tickers
UnheardSheep
@Daveatt, The (plot) character piece is only listing the top 5 after uncommenting the code to show to Top10. Example 10 plotted stock labels 5 plotted character shapes on lines
shashi22101980
Hi Dave,

Can you share the code where you have added 40 scripts? Can you guide me how to make this available for 40 scripts?

Thank you for all the good work :)

Regards,
Shashi Kumar.
Daveatt
Thêm nữa