Learning Group -VIJAYWADA

Status
Not open for further replies.

XRAY27

Well-Known Member
Myths of derivative trading..

1. Derivatives requires complex numeric calculation.

2. It is a instrument which can make money to only few Smart Professional/s

3. It is nothing to do with Technical analysis

4. It is a only Hedging instrument and not a trading product
 

PUCHU_2500

Well-Known Member
supply-demand zones AFL




PHP:
SetChartOptions(0,chartShowArrows|chartShowDates);
bk=ParamColor( "Bk col",ColorRGB(85,90,60)); 
SetChartBkColor(bk);

amount = Param("Sensitivity", 0.5, 0.1, 2, 0.1 );

array = C ;
zz0 = Zig( array, amount );
zz1 = Ref( zz0, -1 );
zz2 = Ref( zz0, -2 );

tr = ValueWhen(zz0 > zz1 AND zz1 < zz2, zz1);
pk = ValueWhen(zz0 < zz1 AND zz1 > zz2, zz1);
PU = tr + 0.01 * abs(tr)*amount;
PD = pk - 0.01 * abs(pk)*amount;

ZZT = IIf( array >= PU AND zz0 > zz1, 1,
       IIf( array <= PD AND zz0 < zz1, -1, 0 ) );

ZZT = ValueWhen( ZZT != 0, ZZT );

Buy_Valid_=zzt>0;
Sell_Valid_=zzt<0;
Buy_Valid = ExRem(Buy_Valid_,Sell_Valid_);
Sell_Valid = ExRem(Sell_Valid_,Buy_Valid_);
Plot(Ref(Buy_valid,0),"",ColorRGB(0,0,100),styleHistogram|styleDashed|styleOwnScale|styleNoLabel,0,0,0,-1);
Plot(Ref(Sell_valid,0),"",ColorRGB(100,0,0),styleHistogram|styleDashed|styleOwnScale|styleNoLabel,0,0,0,-1);

Candlecol=IIf(BarsSince(Buy_Valid)<BarsSince(Sell_Valid) AND BarsSince(Buy_Valid)!=0,5,
          IIf(BarsSince(Buy_Valid)>BarsSince(Sell_Valid) AND BarsSince(Sell_Valid)!=0,4,1));
cc1=IIf(Buy_valid,colorYellow,IIf(Sell_valid,colorBlack,Candlecol));
SetBarFillColor(Cc1);
Plot(C,"Cas-S_D-Zone",Cc1,64,0,0,0,0);

pk=BarsSince(Buy_Valid)<BarsSince(Sell_Valid) ;//AND BarsSince(Buy_Valid)!=0;//Zz>Ref(zz,-1);
tr=BarsSince(Buy_Valid)>BarsSince(Sell_Valid) ;//AND BarsSince(Sell_Valid)!=0;//Zz<Ref(zz,-1);

Ll=LowestSince(sell_valid,L,1);
hH=HighestSince(Buy_Valid,H,1);
Llm=LowestSince(sell_valid,Min(O,C),1);
hHm=HighestSince(Buy_Valid,Max(O,C),1);

xx=Cum(1);
NoLines = Param("No of Lines",5,1,10,1);

Col2=ParamColor( "Res Color", colorRed );
Col1=ParamColor( "Sup Color", colorGreen );

for( i = 1; i < NoLines+1 ; i++ )
{
scol=ColorBlend(Col1,2,0.1*i);
rcol=ColorBlend(Col2,2,0.1*i);

px1 = LastValue(ValueWhen(Buy_valid,Cum(1),i)) ;
py1 = LastValue(ValueWhen(Buy_valid,Ll,i)) ;
pz1 = LineArray(px1, py1, (BarCount-1), py1);
Plot(pz1,"",scol,32);

tx1 = LastValue(ValueWhen(sell_valid,Cum(1),i)) ;
ty1 = LastValue(ValueWhen(sell_valid,Hh,i)) ;
tz1 = LineArray(tx1, ty1, (BarCount-1), ty1);
Plot(tz1,"",rcol,32);

px1m = LastValue(ValueWhen(Buy_valid,Cum(1),i)) ;
py1m = LastValue(ValueWhen(Buy_valid,Llm,i)) ;
pz1m = LineArray(px1m, py1m, (BarCount-1), py1m);
PlotOHLC(pz1,pz1,pz1m,pz1m,"",scol,styleCloud|styleNoLabel,0,0,0,-i-nolines);

tx1m = LastValue(ValueWhen(sell_valid,Cum(1),i)) ;
ty1m = LastValue(ValueWhen(sell_valid,Hhm,i)) ;
tz1m = LineArray(tx1m, ty1m, (BarCount-1), ty1m);
PlotOHLC(tz1,tz1,tz1m,tz1m,"",rcol,styleCloud|styleNoLabel,0,0,0,-i-nolines);
}

for( j = 0; j < BarCount; j++ ) 
{ 
if( Buy_valid [j])  PlotText( "Tr\n"+Ll[ j ], j, Ll[j], colorPaleGreen ); 
if( Sell_valid[j] ) PlotText( "Pk\n"+Hh[ j ], j, Hh[j], colorRose); 
}
I think discretionary traders do not like afl or mechanical system.
 

XRAY27

Well-Known Member
I think discretionary traders do not like afl or mechanical system.
ya !!!!! it is not about discretionary trading ..it is drawing every thing as green and red... not covering my logic...
 
sir,

Thanks for posting this AFL along with chart in this thread
My zones are static with time.. so this will not help me and i should do it manually :)

Pls do post some knowledge sharing article/s and methods for TJ family...:)
Okay sir ji...
you have a good knowledge,so you don't have any ready made stuffs (afl).
so i think better to avoid this thread...
all the best... :thumb::thumb:
 

XRAY27

Well-Known Member
Okay sir ji...
you have a good knowledge,so you don't have any ready made stuffs (afl).
so i think better to avoid this thread...
all the best... :thumb::thumb:
It is not like that sir...you know many ways of trading..you can share (if at all you want)...
Learning a lot and sharing what i learn... you are one of my " GURU" :)
 

niftyoption

Well-Known Member




All that is real in me is God; all that is real in God is I. The gulf between God and me is thus bridged. Thus by knowing God, we find that the kingdom of heaven is within us.


SWAMY VIVEKANANDA JI
 
Okay sir ji...
you have a good knowledge,so you don't have any ready made stuffs (afl).
so i think better to avoid this thread...
all the best... :thumb::thumb:
Hi, santhosh.....please continue in this thread.....lets make this thread more better.....both GURU and SHISYA....:thumb:
 

praveen taneja

Well-Known Member
Okay sir ji...
you have a good knowledge,so you don't have any ready made stuffs (afl).
so i think better to avoid this thread...
all the best... :thumb::thumb:
Please sir Dont leave this thread as it is getting good momentum when you and other genius coming and posting there is lot lot which trader like me want to learn so please dont go specially on Diwali Avery Happy and Blessed Diwali to you and to all TJ member God bless us all Jai Ram Ji KI
 

XRAY27

Well-Known Member
Hi, santhosh.....please continue in this thread.....lets make this thread more better.....both GURU and SHISYA....:thumb:


Saint sir,ST da,Ramakant, santosh sir who made option chain excel sheet upon my request.. and off course your thread and mainly signature
offcourse all the other TJ members from whom i got benefited i cannot forget the Internet source and some books of finest person/s on technical analysis
I owe to them and they are all my "GURU/s"
 
Status
Not open for further replies.

Similar threads