Trading Articles
Article Categories
Article Tools
median line
Updated September 11, 2012
trending_up
5,142 views
thumb_up
2 thanks given
group
3 followers
forum
13 posts
attach_file
3 attachments
Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free and simple.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
(login for full post details)
#1 (permalink )
Kolkata+India
Posts: 27 since Aug 2012
Thanks: 10 given,
1
received
Hello forum
i am interested in overlaying pitchfork on my eod charts. the nearest afl i get is Andrews Pitchfork or Schiff line. but the chart generated in not that clear to understand.
so please can any one help me in finding such a tool?
thanking in advance sr
Can you help answer these questions from other members on futures io?
Best Threads (Most Thanked) in the last 7 days on futures io
(login for full post details)
#2 (permalink )
London, UK
Posts: 36 since Jul 2012
A Pitchfork drawing tool can be found on the toolbar.
(login for full post details)
#3 (permalink )
Kolkata+India
Posts: 27 since Aug 2012
Thanks: 10 given,
1
received
Letmein
A Pitchfork drawing tool can be found on the toolbar.
yes i have seen it, but to draw individually for every scrip i have in my db is a pain in my $ss. thats why i am looking for a afl which clearly depicts median line in my chart
any way thanks for the reply
sr114
(login for full post details)
#4 (permalink )
London, UK
Posts: 36 since Jul 2012
Then use this one for example
(login for full post details)
#5 (permalink )
Kolkata+India
Posts: 27 since Aug 2012
Thanks: 10 given,
1
received
Letmein
Then use this one for example
thanx a lot
this is being depicted efficiently
thanks a lot again
sr
(login for full post details)
#6 (permalink )
Kolkata+India
Posts: 27 since Aug 2012
Thanks: 10 given,
1
received
Hello
another query:
i generally use range bars in my trading intraday and my market is India (NSE-NIFTY). its price is between INR 5000+
now i use 500R for it.
Nifty Range bars- 500R
the code i use is
Quoting
_SECTION_BEGIN( "Price" );
SetChartOptions( 0, chartShowArrows | chartShowDates );
SetChartBkGradientFill( ParamColor( "Inner panel upper", colorBlack ), ParamColor( "Inner panel lower", colorBlack ) );
_N( Title = EncodeColor( colorWhite ) + StrFormat( "{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ) );
TimeFrameMode( 4 ); // turn on range bars where N is expressed in
tick size
TimeFrameSet( 20 ); // range in tick size
SetBarFillColor( IIf( C > O, ParamColor( "Candle UP Color", colorGreen ), IIf( C <= O, ParamColor( "Candle Down Color", colorRed ), colorLightGrey ) ) );
Plot( C, "", IIf( C > O, ParamColor( "Wick UP Color", colorDarkGreen ), IIf( C <= O, ParamColor( "Wick Down Color", colorDarkRed ), colorLightGrey ) ), 64, 0, 0, 0, 0 );
a1=EMA(EMA(C,21),21); //DEMA of Close
a2=EMA(a1,21);
Difference=a1-a2;
a=a1+difference; //zerolag
Plot( A, "", colorWhite, styleLine, styleThick );
b1=EMA(EMA(C,8),8); //DEMA of Close
b2=EMA(b1,8);
Difference=b1-b2;
b=b1+difference; //zerolag
Plot( B, "", colorAqua, styleLine, styleThick );
_SECTION_END();
i am right in my analysis. i do not use and tick size in the symbol information - i keep it blank.
this is in case of bank nifty - Price - 10000+)
am i in right direction? waiting values response from forum
sr
(login for full post details)
#7 (permalink )
Kolkata+India
Posts: 27 since Aug 2012
Thanks: 10 given,
1
received
Hello forum
was exploring the yearly high and low. got the exploration data in perfect but the question arises- i want the date when this hi or lo occurred?
getting the bar no from BarSinceHigh and BarSinceLow.
how to get the date of the event happened or occurred?
regards and thanx
sr
(login for full post details)
#8 (permalink )
Paris, France
Experience: Advanced
Platform: Amibroker
Trading: Futures, Stocks
Posts: 96 since Jun 2011
Thanks: 118 given,
103
received
If you succed to code an exploration, you should have the ticker on the 1st column and the dates on the 2nd column.
(login for full post details)
#9 (permalink )
Kolkata+India
Posts: 27 since Aug 2012
Thanks: 10 given,
1
received
TheTrend
If you succed to code an exploration, you should have the ticker on the 1st column and the dates on the 2nd column.
actually the question is - can i get the date in exploration when the HHV or LLV occurred? for that what i have to do in the code portion?
it is not the question whether the ticker and date is in 1st and 2nd col or not
regards
sr
(login for full post details)
#10 (permalink )
Paris, France
Experience: Advanced
Platform: Amibroker
Trading: Futures, Stocks
Posts: 96 since Jun 2011
Thanks: 118 given,
103
received
sr114
actually the question is - can i get the date in exploration when the HHV or LLV occurred? for that what i have to do in the code portion?
it is not the question whether the ticker and date is in 1st and 2nd col or not
regards
sr
Apply this code to an exploration for a ticker.
In the 2nd Col you'll see the date of the yearly high or low IF the 3rd or 4th column is different from 0.
Code
NewHigh = H > Ref(HHV(H,250),-1);
NewLow = L < Ref(LLV(L,250),-1);
Filter =1;
AddColumn(IIf(NewHigh,H,0) ,"Yearly High ?");
AddColumn(IIf(NewLow,L,0),"Yearly Low ?");
Hope that helps.
(login for full post details)
#11 (permalink )
Kolkata+India
Posts: 27 since Aug 2012
Thanks: 10 given,
1
received
TheTrend
Apply this code to an exploration for a ticker.
In the 2nd Col you'll see the date of the yearly high or low IF the 3rd or 4th column is different from 0.
Code
NewHigh = H > Ref(HHV(H,250),-1);
NewLow = L < Ref(LLV(L,250),-1);
Filter =1;
AddColumn(IIf(NewHigh,H,0) ,"Yearly High ?");
AddColumn(IIf(NewLow,L,0),"Yearly Low ?");
Hope that helps.
thanx for the code. it explores all the quotes for the desired time period and post all result.
can i filter the zero result and get only the hi or lo dates.
wud i use any filter or put any condition?
regards
sr
(login for full post details)
#12 (permalink )
Paris, France
Experience: Advanced
Platform: Amibroker
Trading: Futures, Stocks
Posts: 96 since Jun 2011
Thanks: 118 given,
103
received
sr114
thanx for the code. it explores all the quotes for the desired time period and post all result.
can i filter the zero result and get only the hi or lo dates.
wud i use any filter or put any condition?
regards
sr
You can filter that in Excel very easily or re-formulate the code to give you buy or sell signals and then run a scan i/o an exploration.
(login for full post details)
#13 (permalink )
Paris, France
Experience: Advanced
Platform: Amibroker
Trading: Futures, Stocks
Posts: 96 since Jun 2011
Thanks: 118 given,
103
received
Actually no need to run a scan, just use this updated code for exploration:
Code
NewHigh = IIf( H > Ref(HHV(H,250),-1),1,0);
NewLow = IIf(L < Ref(LLV(L,250),-1),1,0);
Clr = IIf(NewHigh,colorGreen,colorRed);
Filter =NewHigh ==1 OR NewLow ==1;
AddColumn(IIf(NewHigh,H,L) ,"Yearly High / Low",1.2,colorDefault,Clr);
It gives you 1 column with green cells for highs and red cells for lows, how nice is it ?
(login for full post details)
#14 (permalink )
Kolkata+India
Posts: 27 since Aug 2012
Thanks: 10 given,
1
received
TheTrend
Actually no need to run a scan, just use this updated code for exploration:
Code
NewHigh = IIf( H > Ref(HHV(H,250),-1),1,0);
NewLow = IIf(L < Ref(LLV(L,250),-1),1,0);
Clr = IIf(NewHigh,colorGreen,colorRed);
Filter =NewHigh ==1 OR NewLow ==1;
AddColumn(IIf(NewHigh,H,L) ,"Yearly High / Low",1.2,colorDefault,Clr);
It gives you 1 column with green cells for highs and red cells for lows, how nice is it ?
The Trend
thats was a big help for me. a heartfelt gratitude for u
regards
sr
Last Updated on September 11, 2012
Right now
Ongoing
Right now
March
Register to Attend
Elite only
Coming soon
April