RafaelZioni

lazy weis MTF

RafaelZioni Cập nhật   
So here was my problem and the way we fix it . We all know lazy bear weis model of volume . if we make it to MTF then we use security and it will repaint all over . since its hard to convert it to version 3 in order to fix the problem ,then it was impossible so far to make it a good MTF model.
By changing the length to time function we do not need to use the security and by this we can create an MTF model with no repaint ( i hope).

Now in setting you see int2 (now its on 60 min) , this you can change to any min value that you want. TV will consider it as length and not as time and by this way you can manipulate it to be an MTF model of your choosing . The int1 is minimum min always need to be smaller then int2

lets say you want 5 min chart and on 10 min time frame. so set it as int1=1 and int=15. if you want 45 min frame on the 5 min so set int 2 to 45
if you want it to be daily just set it to 1440 ,
I hope you like this solution
Phát hành các Ghi chú:
Ok I add addition of smooth length so you can calibrate the enter and exit better
I think the model need also take profit (not in script)
so far it seems not to repaint .
Mã nguồn mở

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

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

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

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