RafaelZioni

lazy weis MTF

RafaelZioni Atualizado   
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
Notas de Lançamento:
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 .
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?