AFL for pivot envelope

#1
Hi,

Can somebody please code the afl for below mentioned conditions.

Kindly help.

pivot= (H+L+C)/3
PIVOTHIGH = (pivot *2)-LOW
PIVOTLOW = (pivot *2)-HIGH

I want to create an envelope using the above conditions.

pivotenvelopetop = 3 period simple moving average displaced horizontally by 1 period of PIVOTHIGH.
pivotenvelopebottom = 3 period simple moving average displaced horizontally by 1 period of PIVOTLOW.

Thanks,
S
 

amitagg

Crude Oil Trader
#2
Re: AFL for pivot envel

Do u want to use it in which timeframe

What's the trade set buy above r1 break of average and so on
What's the stop - p or s1

Wonder if optimised 5 days would be better than 3 p

I already trade on weekly and it gives good results

Some more thoughts welcome

Combine with camrilla for better exits

CAn u share an excel for this since u already would have it
 
#3
Re: AFL for pivot envel

Do u want to use it in which timeframe

What's the trade set buy above r1 break of average and so on
What's the stop - p or s1

Wonder if optimised 5 days would be better than 3 p

I already trade on weekly and it gives good results

Some more thoughts welcome

Combine with camrilla for better exits

CAn u share an excel for this since u already would have it

hi,

u r getting it all wrong dear. its not floor pivots i am interested in. its the channel or envelope i am interested using the above formulas.
There are no trade set ups. Its just an idea as off now I dont know how it will look like.
i dont have any excel for it.

regds,s
 

colion

Active Member
#4
Hi,

Can somebody please code the afl for below mentioned conditions.

Kindly help.

pivot= (H+L+C)/3
PIVOTHIGH = (pivot *2)-LOW
PIVOTLOW = (pivot *2)-HIGH

I want to create an envelope using the above conditions.

pivotenvelopetop = 3 period simple moving average displaced horizontally by 1 period of PIVOTHIGH.
pivotenvelopebottom = 3 period simple moving average displaced horizontally by 1 period of PIVOTLOW.

Thanks,
S
Not sure but it sounds like you want this:

pivot= (H+L+C)/3;
PIVOTHIGH = (pivot *2)-Low;
PIVOTLOW = (pivot *2)-High;

pivotenvelopetop = MA( C, 3 ) + pivothigh;
pivotenvelopebottom = MA( C, 3 ) - pivotlow;

Plot( pivotenvelopebottom, "", colorRed );
Plot( pivotenvelopetop, "", colorRed );
Plot( C, "", colorPaleGreen, styleBar );
 
Last edited:

Similar threads