PureBytes Links
Trading Reference Links
|
Okay folks here is the formula:
-------------------------------------------------------------------------------------
WINMIDAS SYSTEM
-------------------------------------------------------------------------------------
eMonth:=Input("Enter the Month-MM",1,12,1);
eDate:=Input("Enter the Date-DD",1,31,1);
eYear:=Input("Enter the Year-YYYY",0,2100,0);
numdays:=BarsSince(DayOfMonth()=eDate AND
Month() =emonth AND Year()=eyear);
pvol:=MP()*V;
cumpv:=Cum(pvol);
cumvol:=Cum(V);
basecumpv:=ValueWhen(1, numdays=0, cumpv);
basecumvol:=ValueWhen(1, numdays=0, cumvol);
sr1:=cumpv-basecumpv;
sr2:=cumvol-basecumvol;
sr:=sr1/sr2;
sr;
-------------------------------------------------------------------------------------
I will be very grateful if someone can please check it and validate it.
Thanks in advance.
Rakesh Sahgal
Rakesh
SahgalOnline
Status:
Yahoo! Groups Sponsor
To unsubscribe from this group, send an email to:
realtraders-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|