OPEN-SOURCE SCRIPT

Follow Trend - Wall Street Strategy

Cập nhật
It is a mix of three common indicators, they are The High band level of Donchian Channel, 6 emas (17, 34, 72, 144, 200 and 305), and 2 VStop with different multipliers.

We search stocks are going higher and higher each time. So we look at the High-level Donchian band and if the price made a little correction and didn't touch the VStop indicator and, the price is higher than all the ema's. So we try to buy the stocks when it pass through the last highest price.
The Vstop-short we use to stocks and commodities.
The VStop-long, we use to Bonds and Reits.

In order to help, there is a triangle when the price crossover any VStop, at least the half of Donchian period.
Phát hành các Ghi chú
I forgot one of the ema's
Phát hành các Ghi chú
There are some other possibilities about crossing price and VStop-short and VStop-long that I was forgot. Now it is complete!
Phát hành các Ghi chú
Some wrong indication on it touch the VStop
Phát hành các Ghi chú
EMA's change color to green when the price is upper than ema's and they are red when the price is lower than they.
Phát hành các Ghi chú
1 -I put the correct name of each ema in plot and now they are the same at the user display
2- All the important values are showing at the end . There is a resume of our strategy, Its show the start price (the highest value + 0.01), the short-stop value, the long-stop value and its brings if all the price is higher then all ema's ploted. If one of the ema's is above the price, it will show the ema's problem and don;t shows the our strategy value.
Phát hành các Ghi chú
Legend text now is white, not black.
Phát hành các Ghi chú
User can choose DarkTheme or LightTheme on the legends
Phát hành các Ghi chú
Now its show the relation risc vs return at each ATR
Phát hành các Ghi chú
In some stocks, we don't have enough data to calculate large ema's, so in these cases, the strategy shows Ema's Bad but it isn't true. we don't have enough data to calculate it. In those cases, we will ignore them.
When the close price was below ema our script says it was bad, but it isn't true either. It is irrelevant for our strategy because the price along the week was above the ema, so now we calculate the ema using the high price along the week.
Phát hành các Ghi chú
I changed some indicators colors. I added dashed extend lines to show here are the vstop, vstop2 and buyprice.
Phát hành các Ghi chú
DarkTheme is working now
Subtract some indicators that we didn't use anymore.
Now is more simply. They are project to weekly graphcs.
Phát hành các Ghi chú
Correction on value of Donchian Bottom
Phát hành các Ghi chú
Change Colors on Donchian Bottom and EMA2
Phát hành các Ghi chú
Change Line Styles
Phát hành các Ghi chú
The Vstop line has two color. When the vstop price is less than close price the line will be green and when the vstop price is higher then close price it will be red.
Trend Analysisvstop

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm