Looking forafl code for this concept-anybody help please

rvlv

Active Member
#1
Hi friends
Here I have a concept which I need afl to be coded.

Concept

50-80 formula
clayburg system page 155
--------------------------

calculate 6 day moving average of new highs
calculate 6 day moving average of new lows

each day add number of new highs to number of new lows.
get sumnewHL

BUY RATIO = 6DAY MA OF NEW HIGHS DIVIDED BY SUMNEWHL

SELL RATIO = 6DAY MA OF LOWS DIVIDED BY SUMNEWHL

YOU NEED 6 DAY MOVING AVERAGE OF THE SUM OF NEW HIGHS AND NEW LOWS.

GO LONG ON A BUY RATIO OF 0.50 OR MORE
EXIT THE MARKET ON A SELL RATIO OF 0.80 OR MORE.

 

altaf petiwala

Well-Known Member
#3
Hi friends
Here I have a concept which I need afl to be coded.

Concept

50-80 formula
clayburg system page 155
--------------------------

calculate 6 day moving average of new highs
calculate 6 day moving average of new lows

each day add number of new highs to number of new lows.
get sumnewHL

BUY RATIO = 6DAY MA OF NEW HIGHS DIVIDED BY SUMNEWHL

SELL RATIO = 6DAY MA OF LOWS DIVIDED BY SUMNEWHL

YOU NEED 6 DAY MOVING AVERAGE OF THE SUM OF NEW HIGHS AND NEW LOWS.

GO LONG ON A BUY RATIO OF 0.50 OR MORE
EXIT THE MARKET ON A SELL RATIO OF 0.80 OR MORE.

Could you please post a link to the book?
I have an incomplete copy. Looking for it for the last few years. Would appreciate it if you could point me to it.
 

extremist

Well-Known Member
#4
for the Book above plz go to :

http://w w w . 4 s h a r e d . c o m/office/k-nu0DRxce/4_steps.html

plz remove the spaces

I searched on net but got only djuv print so i converted it to pdf and uploaded.

it is almost 179 Mb.



my mistake.....
this book does not belong the above shown strategy.

sorry
 
Last edited:

casoni

Well-Known Member
#6
Hello extremist,

Need to read the full concept ,

as per the rule , i think , the author is taking HH as new high ,[ bcoz new high is HH ] divide by NEW HL ,
point me if i am mistaken

Thank you
 

extremist

Well-Known Member
#7
@ casoni :

it is lill confusing whether he want new high as hh or just simply new high.

i tried it with lill help got frm Happy sing but still no outcome.

perhaps i missing on concept i guess.

nh=Highest(H);
nl= Lowest(L);

sHL= nh+nl;



//br=MA(nh,6)/MA(sHL,6);
//sr=MA(nl,6)/MA(sHL,6);

br=MA(nh,6)/sHL;
sr=MA(nl,6)/sHL;

Plot( br,"Buy ratio:" , ParamColor( "Buy ratio Color", colorLightGrey ), ParamStyle("Style") );
Plot( sr,"Sel ratio:" , ParamColor( "Sel ratio Color", colorBlack ), ParamStyle("Style") );

see if u could find anything on it.

thank u for interest.
 

Similar threads