median line - futures io
futures io futures trading



median line


Discussion in Platforms and Indicators

Updated
    1. trending_up 5,141 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 13 posts
    2. 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)

 
Search this Thread
 

median line

(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

Reply With Quote

Can you help answer these questions
from other members on futures io?
Short Interest Ratio indicator?
ThinkOrSwim
NT8 indicator to simulate a Funding Evaluation where to …
NinjaTrader
SimplerOptions
Trading Reviews and Vendors
What blockvolume is visible? - order processing
NinjaTrader
Which kind of Blockvolume is visible? - order processing
Emini and Emicro Index
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Battlestations: Show us your trading desks!
142 thanks
Big Mike in Ecuador
34 thanks
Want your NinjaTrader indicator created, free?
32 thanks
Saturday Morning Market Replay!
20 thanks
Selling Options on Futures?
19 thanks
 
(login for full post details)
  #2 (permalink)
London, UK
 
 
Posts: 36 since Jul 2012

A Pitchfork drawing tool can be found on the toolbar.

Reply With Quote
 
(login for full post details)
  #3 (permalink)
Kolkata+India
 
 
Posts: 27 since Aug 2012
Thanks: 10 given, 1 received



Letmein View Post
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

Reply With Quote
 
(login for full post details)
  #4 (permalink)
London, UK
 
 
Posts: 36 since Jul 2012

Then use this one for example

Attached Files
Register to download File Type: afl Andrews Pitchfork V3.4.afl (8.5 KB, 121 views)
Reply With Quote
 
(login for full post details)
  #5 (permalink)
Kolkata+India
 
 
Posts: 27 since Aug 2012
Thanks: 10 given, 1 received


Letmein View Post
Then use this one for example


thanx a lot

this is being depicted efficiently

thanks a lot again

sr

Reply With Quote
 
(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

Reply With Quote
 
(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

Reply With Quote
 
(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.

Reply With Quote
 
(login for full post details)
  #9 (permalink)
Kolkata+India
 
 
Posts: 27 since Aug 2012
Thanks: 10 given, 1 received


TheTrend View Post
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

Reply With Quote
 
(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 View Post
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.

Attached Thumbnails
Click image for larger version

Name:	High - Low.png
Views:	62
Size:	18.2 KB
ID:	88482  
Reply With Quote
 
(login for full post details)
  #11 (permalink)
Kolkata+India
 
 
Posts: 27 since Aug 2012
Thanks: 10 given, 1 received


TheTrend View Post
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

Reply With Quote
 
(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 View Post
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.

Reply With Quote
 
(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 ?

Attached Thumbnails
Click image for larger version

Name:	High - Low.png
Views:	68
Size:	18.2 KB
ID:	88486  
Reply With Quote
 
(login for full post details)
  #14 (permalink)
Kolkata+India
 
 
Posts: 27 since Aug 2012
Thanks: 10 given, 1 received


TheTrend View Post
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

Reply With Quote


futures io Trading Community Platforms and Indicators > median line


Last Updated on September 11, 2012


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts