My System - My trades.

Thanks Varunji for all the inputs.

just a couple of questions for mechanical trading :

1. which AFL you are using for ribbons ? which post AFL ?

2. Do you consider any other factor apart from ribbon changing colour ?

Thanks once again ..
 
Code:
_SECTION_BEGIN("OBV Hi Lo");
Ob = OBV();	Hi = HHV(Ob,15);	Lo = LLV(Ob,15);
		HiP= HHV(H,15);		LoP= LLV(L,15);

B1 = Cross(Ob,Ref(Hi,-1));	S1 = Cross(Ref(Lo,-1),Ob);
B2 = Cross(C,Ref(HiP,-1));	S2 = Cross(Ref(LoP,-1),C);
B1 = ExRem(B1,S1);		S1 = ExRem(S1,B1);
B2 = [B][COLOR="Red"]ExRem(B1,S1)[/COLOR][/B];		S2 = ExRem(S2,B2);
UP1 = Flip(B1,S1);		DN1 = Flip(S1,B1);
UP2 = Flip(B2,S2);		DN2 = Flip(S2,B2);

B3 = UP1 AND UP2;		S3 = DN1 AND DN2;
B3 = ExRem(B3,S3);		S3 = ExRem(S3,B3);
UP3 = Flip(B3,S3);		DN3 = Flip(S3,B3);




Happy :)[/QUOTE]

Happy ji, one small doubt in the AFL you posted for price and OBV ribbon . The highlighted part should be [COLOR="Blue"][B]ExRem(B2,S2)[/B][/COLOR] instead of ExRem(B1,S1). Please confirm.

Regards,
Parag
 

vijkris

Learner and Follower
Code:
_SECTION_BEGIN("OBV Hi Lo");
Ob = OBV();	Hi = HHV(Ob,15);	Lo = LLV(Ob,15);
		HiP= HHV(H,15);		LoP= LLV(L,15);

B1 = Cross(Ob,Ref(Hi,-1));	S1 = Cross(Ref(Lo,-1),Ob);
B2 = Cross(C,Ref(HiP,-1));	S2 = Cross(Ref(LoP,-1),C);
B1 = ExRem(B1,S1);		S1 = ExRem(S1,B1);
B2 = ExRem(B1,S1);		S2 = ExRem(S2,B2);
UP1 = Flip(B1,S1);		DN1 = Flip(S1,B1);
UP2 = Flip(B2,S2);		DN2 = Flip(S2,B2);

B3 = UP1 AND UP2;		S3 = DN1 AND DN2;
B3 = ExRem(B3,S3);		S3 = ExRem(S3,B3);
UP3 = Flip(B3,S3);		DN3 = Flip(S3,B3);

Plot(8,"",IIf(UP3,colorBlue,colorRed),styleOwnScale|styleNoLabel|styleThick,0,200,0,-5,8);
//Plot(4,"",IIf(UP2,colorBlue,colorRed),styleOwnScale|styleNoLabel|styleNoLine|styleDots,0,200);
//Plot(2,"",IIf(UP1,colorBlue,colorRed),styleOwnScale|styleNoLabel|styleNoLine|styleDots,0,200);
_SECTION_END();
Both 15 Period Price Hi/ Lo BO/BD and OBV Hi/ Lo BO/BD combined into one ribbon


1) Right click on the chart and Open the AFL for edit.
2) Delete the code of previous ribbon and
3) Paste the above code in its place . . .


Happy :)
All those who are using this afl, be advised that the ribbon shows both price and obv bo/bd.


Only 200 ema component is not there.
Blue color means both price and obv are blue and vice versa.
 

vijkris

Learner and Follower
Happy ji, one small doubt in the AFL you posted for price and OBV ribbon . The highlighted part should be ExRem(B2,S2) instead of ExRem(B1,S1). Please confirm.

Regards,
Parag
Most probably u r correct. Happyji has to confirm though.
 

MEAG

Active Member
All those who are using this afl, be advised that the ribbon shows both price and obv bo/bd.


Only 200 ema component is not there.
Blue color means both price and obv are blue and vice versa.
Thanks Vijay ji for clearing all doubts. Would really appreciate if you can post today's BNF chart with the same AFL.

@ Varun ji, is this the same AFL which you are using?
 

Similar threads