Arooj,
Thanks will keep digging
TRO 2 CANDLE TRADE INDICATOR
Moderator: moderators
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15562
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3036
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
Susana wrote:Little update on the TRO_XOVER with the RSI 2 and 5 settings.
I find this thing impossible to use.
Even on the 5 min chart it can cross up or down in seconds faking you out.
Help I feel Im sinking on the Titanic !
Susana
Use 60 minute chart.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!
Please do NOT PM me with trading or coding questions, post them in a thread.
Please do NOT PM me with trading or coding questions, post them in a thread.
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15562
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3036
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
Code: Select all
{ _TRO_2_Candle_Trade }
{Attn: TradeStation
if this indicator is posted on the TradeStation Forum, I, TheRumpledOne, did NOT post it there,
so I can't be blamed for this indicator having my contact info.}
{Programmer: Avery T. Horton, Jr. aka TheRumpledOne,
gifts and donations accepted, PO Box 43575, Tucson, AZ 85733 }
{ ? Copyright 2006 Avery T. Horton, Jr.}
inputs:
iDecimals(4),
iOpen1(Open of data1 ),
iClose1( Close of data1),
iOpen2( Open of data2),
iClose2( Close of data2),
iLongColor(cyan),
iShortColor(magenta),
iWaitColor(yellow) ;
variables:
xMaxDiffDate(999999),
xMinDiffDate(999999),
xMaxDiff(0),
xMinDiff(999999999),
xAvgDiff(0),
xDiff1(0),
xDiff2(0);
variables:
FG1(white),
BG1(black),
fg2(white),
bg2(black),
fg3(white),
bg3(black),
fg4(white),
bg4(black);
{commentary variables}
variables:
xcomm(0),
oComm1( "" ),
oComm2( "" ),
oComm3( "" ),
oComm4( "" ),
oComm5( "" ),
oComm6( "" ),
oComm7( "" ),
oComm8( "" ),
oComm9( "" ),
oComm10( "" );
{ INITIALIZE }
FG1 = WHITE;
BG1 = BLACK;
fg2 = WHITE;
bg2 = BLACK;
fg3 = WHITE;
bg3 = BLACK;
fg4 = WHITE;
bg4 = BLACK;
xDiff1 = iClose1 - iOpen1 ;
xDiff2 = iClose2 - iOpen2 ;
{ Alert criteria }
if xDiff1 > 0
and xDiff2 > 0
then begin
Fg1 = iLongColor;
Bg1 = BLACK;
end
else
if xDiff1 < 0
and xDiff2 < 0
then begin
Fg1 = iShortColor;
Bg1 = BLACK;
end
else
begin
Fg1 = iWaitColor;
Bg1 = BLACK;
end;
Plot1( 0 , "Trade", Fg1 ) ;
xComm = _fCommentary(oComm1, oComm2, oComm3, oComm4, oComm5, oComm6, oComm7, oComm8, oComm9, oComm10);
CommentaryCl(oComm1 );
CommentaryCl(oComm2 );
CommentaryCl(oComm3 );
CommentaryCl(oComm4 );
CommentaryCl(oComm5 );
CommentaryCl(oComm6 );
CommentaryCl(oComm7 );
CommentaryCl(oComm8 );
CommentaryCl(oComm9 );
CommentaryCl(oComm10 );
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!
Please do NOT PM me with trading or coding questions, post them in a thread.
Please do NOT PM me with trading or coding questions, post them in a thread.
Hi TRO and Trading community. I have been profitably trading a strategy similar to the 2 candle code - but it is the 4 candle code - meaning Go long when 1 Min, 5 min, 15, min and 60 min are green candle and go short when 1 Min, 5 min, 15, min and 60 min are red -- but it is a manual / visual process It would really mean a lot if someone could help with coding for tradestation. I have tried modifing the 2 candle code without success. Thanks very much!!! Pete
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.