RafaelZioni

lazy weis MTF

RafaelZioni מעודכן   
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
הערות שחרור:
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 .
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?