PureBytes Links
Trading Reference Links
|
{Mode1(0) plots buy/sell pivots, Mode1(1) plots value area and Pit Bull MA
and HLC pivot, Mode1(3) plots trend lines instead of plot lines}
Inputs: Mode1(3),
TradeDate(1030423), {103=year 2003,113=year 2013 etc., 0422=mmdd}
SPivotH(919.25),
SPivotL(918.25),
BPivotH(892.50),
BPivotL(893.50),
VAH(909.30),
VAL(890.70),
PitBull(883.70), {ten day moving average}
PitPivot((HighD(1)+LowD(1)+CloseD(1))/3);{some traders use the
CloseD(1), some use the Open}
If Mode1=0 and date= TradeDate then begin
plot1(SPivotH,"SH");
plot2(SPivotL,"SL");
plot3(BPivotH,"");
plot4(BPivotL,"");
end;
If Mode1=1 and date=TradeDate then begin
plot1(VAH,"SH");
plot2(VAL,"SL");
plot3(PitBull,"");
plot4(PitPivot,"");
end;
Vars: ID(-1);
If Mode1=3 and date=TradeDate then begin
ID=TL_New(TradeDate,Sess1StartTime,SPivotH,TradeDate,Time,SPivotH);
value1=TL_SetColor(ID,red);
ID=TL_New(TradeDate,Sess1StartTime,SPivotL,TradeDate,Time,SPivotL);
value1=TL_SetColor(ID,red);
ID=TL_New(TradeDate,Sess1StartTime,BPivotH,TradeDate,Time,BPivotH);
value1=TL_SetColor(ID,green);
ID=TL_New(TradeDate,Sess1StartTime,BPivotL,TradeDate,Time,BPivotL);
value1=TL_SetColor(ID,green);
ID=TL_New(TradeDate,Sess1StartTime,VAH,TradeDate,Time,VAH);
value1=TL_SetColor(ID,white);
ID=TL_New(TradeDate,Sess1StartTime,VAL,TradeDate,Time,VAL);
value1=TL_SetColor(ID,white);
ID=TL_New(TradeDate,Sess1StartTime,PitBull,TradeDate,Time,PitBull);
value1=TL_SetColor(ID,lightgray);
ID=TL_New(TradeDate,Sess1StartTime,PitPivot,TradeDate,Time,PitPivot);
value1=TL_SetColor(ID,yellow);
end;
{coded by Bob Roeske 4/22/03 bobrabcd@xxxxxxxxxxxxx,
http://www.oextrader.com/sigma_trader
purpose of this code is simply to plot the dTA Key Numbers for ES that
appear in the
Morning Call & Briefing
Advice on setting up
1. scale to price
2. turn off "update every tick"
}
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading!
Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/pDi3hB/OC5FAA/AG3JAA/zMEolB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
realtraders-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Attachment:
DTA_MCB #'S_TL.ELS
Attachment:
Description: "Description: Binary data"
|