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.
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.