TradingView
Trading_Solutions_
2021년 10월 8일 오후 4시 48분

Crypto Scannner for Traffic Lights Strategy 

Bitcoin / TetherUSBinance

설명

I allways try to make trading easier. Developing Scripts for a quick backtest and improvement of a strategy, getting alerts for entry and exit a position. Loading data to a spreadsheet is also important and takes time.

In this case finding good parameters in different markets or assets to enter in a position, is a bit exhausting. It is something you have to do everyday, and sometimes in different moments of the day.

So I manage to develop a Screener, to take a quick look at specific hours, and tell if I have a buy or sell condition in an specific asset. Obviously this is not an alert to make a trade instantaneusly, but this help you filter a lot of information in matters of seconds. Then open those specific charts and make a better analisys.

A few weeks ago, I published a scrpipt called "Traffic Lights Strategy", that uses 4 emas to get a buy or a sell condition. tradingview.com/script/ojICH8B7-Traffic-Lights-Strategy/
It is easy to understand and use, but if you don´t want to missed some opportunities, and don't want to be look at the screen in all the time looking for them, I have here a simple solution.

This script works plotting 2 labels. The first one plots all the assets in which the condition is true (fastema > medema > slowema > filterema or fastema < medema < slowema < filterema)
The second one plots the assets were the condition is true only if happened up to 5 candles back, so you can be in time to enter a trade.

You can take the script and customize it for a different strategy or assets. I coded like this because I backtested this strategy in this specific assets, and statistics suggest that it might be profitable.

I hope this works for you. In other time I'll try to code a script for the others strategies I published.

코멘트
yns0202
hi,

I will have a request like this: it will only give me shares that will signal me in the direction of buying.

inputs:
ema1 = 55
ema2 = 89
ema3 = 144
ema4 = 233

For scanning:

1) the stock price can hit or go below ema1, but ema1 should not go below ema2.
2) stock price may touch or fall below ema2, but ema1 should not fall below ema2
3) price may touch or go below ema3, but ema1 should not go below ema2
4) price may touch or go below ema4, but ema1 should not go below ema2.

time zone "1h, 4h, D" can be selected.
like this:
더보기