TRO PMSM TREND

post your indicators here

Moderator: moderators

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

Postby TheRumpledOne » Sun Apr 22, 2007 5:37 pm

Notice how the when the colors change, the price reverses!!

When you get 4 green or 4 red dots, the next price bar seems to be the opposite color of the current bar.

Could be a day or swing trade money maker!!
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 add www.kreslik.com to your ad blocker white list.
Thank you for your support.

meagain
rank: <50 posts
rank: <50 posts
Posts: 2
Joined: Wed Apr 18, 2007 9:47 pm
Reputation: 0
Gender: None specified

Postby meagain » Sun Apr 22, 2007 8:01 pm

TRO,

Fantabulous -- many thanks

Marco

User avatar
Blue Rhino
rank: <50 posts
rank: <50 posts
Posts: 16
Joined: Wed May 09, 2007 1:04 pm
Reputation: 0
Location: Atlanta
Gender: Male

Postby Blue Rhino » Sun May 13, 2007 11:03 am

TRO,
I am still finding gold all over this forum! Thank you again for everything your doing.

orion1012
rank: <50 posts
rank: <50 posts
Posts: 6
Joined: Sat May 12, 2007 3:59 am
Reputation: 0
Gender: Male

Postby orion1012 » Mon May 14, 2007 5:34 am

I have prosuite 2000i could someone post the EL code for this because ELD's do not download into TS 2000i.

Thanks

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

Postby TheRumpledOne » Mon May 14, 2007 11:48 pm

Code: Select all

{ _TRO_PMSM_TREND }
   

{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:
   
iTREND1( XAVERAGE(C,5) ),
iTREND2( XAVERAGE(C,10) ),
iTREND3( XAVERAGE(C,20) ),
iTREND4( XAVERAGE(C,30) ),

iDecimals(4);

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;


{ Alert criteria }

 

IF iTREND1 > iTREND1[1]
then begin
   Fg1 = green;
   Bg1 = BLACK;
end
else
IF iTREND1 < iTREND1[1]
then begin
   Fg1 = red;
   Bg1 = BLACK;
end
else
begin
   Fg1 = yellow;
   Bg1 = BLACK;
end;
 

IF iTREND2 > iTREND2[1]
then begin
   Fg2 = green;
   Bg2 = BLACK;
end
else
IF iTREND2 < iTREND2[1]
then begin
   Fg2 = red;
   Bg2 = BLACK;
end
else
begin
   Fg2 = yellow;
   Bg2 = BLACK;
end;


 

IF iTREND3 > iTREND3[1]
then begin
   Fg3 = green;
   Bg3 = BLACK;
end
else
IF iTREND3 < iTREND3[1]
then begin
   Fg3 = red;
   Bg3 = BLACK;
end
else
begin
   Fg3 = yellow;
   Bg3 = BLACK;
end;
 

IF iTREND4 > iTREND4[1]
then begin
   Fg4 = green;
   Bg4 = BLACK;
end
else
IF iTREND4 < iTREND4[1]
then begin
   Fg4 = red;
   Bg4 = BLACK;
end
else
begin
   Fg4 = yellow;
   Bg4 = BLACK;
end;

Plot1( 1 , "Trend1", Fg1 ) ;

Plot2( .5 , "Trend2", Fg2 ) ;

Plot3( 0 , "Trend3", Fg3 ) ;

Plot4( -.5 , "Trend4", Fg4 ) ;

 


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 add www.kreslik.com to your ad blocker white list.
Thank you for your support.

orion1012
rank: <50 posts
rank: <50 posts
Posts: 6
Joined: Sat May 12, 2007 3:59 am
Reputation: 0
Gender: Male

Postby orion1012 » Tue May 15, 2007 1:39 am

Thanks, TRO, I just had to remove the commentary segment( which was not recognised by 2000i and it works perfectly.

I assume this works on tick charts as well as intraday minute charts?

Thanks again

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

Postby TheRumpledOne » Tue May 15, 2007 11:48 am

It should work on any charts.
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.

cvax
rank: 50+ posts
rank: 50+ posts
Posts: 83
Joined: Sun May 13, 2007 12:45 am
Reputation: 0
Gender: None specified

Postby cvax » Wed May 30, 2007 8:15 am

TheRumpledOne wrote:When you get 4 green or 4 red dots, the next price bar seems to be the opposite color of the current bar.

Do you mean 4 consecutive bars producing green dots on all MAs? Basically a 4x4 square of green? Or did you mean just 4 green dots on one bar?


TheRumpledOne wrote:Notice how the when the colors change, the price reverses!!

So the moment the quickest MA changes colors and breaks the synchronous green dots is the sign for a price reversal? I've spotted instances where the price decides to reverse before any of them changes color. If you look at my attachment you can see what I mean around 4/24/07. How does one combat against this?
Attachments
QCOM  1_10_2007 - 5_25_2007 (Daily).jpg
QCOM 1_10_2007 - 5_25_2007 (Daily).jpg (120.03 KiB) Viewed 810 times

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

Postby TheRumpledOne » Wed May 30, 2007 12:45 pm

"Do you mean 4 consecutive bars producing green dots on all MAs? Basically a 4x4 square of green? Or did you mean just 4 green dots on one bar? "

4 green dots on one bar.


How does one combat against this?

Your question is very important!

The answer is YOU DON'T. You don't engage in combat with the market, you flow with it.
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.

User avatar
Blue Rhino
rank: <50 posts
rank: <50 posts
Posts: 16
Joined: Wed May 09, 2007 1:04 pm
Reputation: 0
Location: Atlanta
Gender: Male

Postby Blue Rhino » Wed May 30, 2007 1:04 pm

If I understand the question correctly...
I think the question is Are you supposed to look for 4 dots up and down or left to right?

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


Return to “Tradestation indicators”