TRO 2 CANDLE TRADE INDICATOR

post your indicators here

Moderator: moderators

Susana
rank: <50 posts
rank: <50 posts
Posts: 47
Joined: Mon Feb 19, 2007 3:17 pm
Reputation: 0
Gender: None specified

Postby Susana » Thu Jun 07, 2007 7:08 pm

Arooj,

Thanks will keep digging :)

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 11397
Joined: Sun May 14, 2006 9:31 pm
Reputation: 45
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Fri Jun 08, 2007 5:46 pm

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.

Susana
rank: <50 posts
rank: <50 posts
Posts: 47
Joined: Mon Feb 19, 2007 3:17 pm
Reputation: 0
Gender: None specified

Postby Susana » Fri Jun 08, 2007 8:41 pm

Thanks TRO, I will try that next week as I need a live market to test these oscillators.

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 11397
Joined: Sun May 14, 2006 9:31 pm
Reputation: 45
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Fri Aug 17, 2007 12:39 pm

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.

pk444
rank: <50 posts
rank: <50 posts
Posts: 1
Joined: Sat Jan 10, 2009 7:05 pm
Reputation: 0
Gender: None specified

Postby pk444 » Tue Nov 06, 2012 3:05 am

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.


Return to “Tradestation indicators”