Page 1 of 3

TRO_CONTROL PAINTBARS FOR QUOTETRACKER.

Posted: Tue Aug 29, 2006 9:26 pm
by TheRumpledOne
Bummer is, we can't just add paintbar files...

Have to edit/copy/paste.

Maybe Jerry Medved will put in an IMPORT/EXPORT feature.

Here's the code for the TRO CONTROL Paintbars

Code: Select all

 <PAINTBAR>
  <ID>NCMPWS</ID>
  <NAME>TROControlMinor</NAME>
   <RULE><EXPR>if Bar Close=( Day High +  Day Low) * 0.5 set color to Yellow</EXPR></RULE>
   <RULE><EXPR>if Bar Close&gt;(  Day High +  Day Low)  * 0.5 set color to Blue</EXPR></RULE>
   <RULE><EXPR>if Bar Close&lt;(  Day High +  Day Low)  * .0.5 set color to Red</EXPR></RULE>
  </PAINTBAR>
 <PAINTBAR>
  <ID>JKBMIA</ID>
  <NAME>TROControlMajor</NAME>
   <RULE><EXPR>if Bar Close=( Day High[1] +  Day Low[1]) * 0.5 set color to Yellow</EXPR></RULE>
   <RULE><EXPR>if Bar Close&gt;( Day High[1] +  Day Low[1])  * 0.5 set color to Blue</EXPR></RULE>
   <RULE><EXPR>if Bar Close&lt;( Day High[1] +  Day Low[1])  * 0.5 set color to Red</EXPR></RULE>
  </PAINTBAR>





When both are RED, go short.

When both are BLUE, go long.

If then are not the same color... WAIT!!



The paintbars ( squares ) for TRO Major Control are at the bottom and for TRO Minor Control are at the top.

Posted: Tue Aug 29, 2006 10:58 pm
by traderwep
do these paintbars exist for esignal?

Posted: Wed Aug 30, 2006 12:20 am
by TheRumpledOne
Too funny... just look for them in the eSignal section!!

Posted: Mon Sep 04, 2006 2:46 am
by bagman
TRO,

I am trying to get set up using MP's method (stockhideout) and seen where you have been part of it. Thanks for you work, I appreciate it.

Where do I put your code for the paintbars in quotetracker?

Thanks again, Rumpled One

Posted: Wed Sep 06, 2006 4:51 am
by TheRumpledOne
Best to use the paintbar editor.

Or you can copy/paste into the paintbar file.

Posted: Wed Sep 06, 2006 6:50 am
by bagman
Thanks, TRO

Posted: Fri Sep 15, 2006 6:02 pm
by TheRumpledOne
[highlight=red]THERE WAS AN ERROR IN THE PAINTBAR CODE!!

YOU NEED TO COPY/PASTE AGAIN.

I FIXED THE CODE IN THE FIRST POST OF THIS THREAD.
[/highlight]

Posted: Sat Sep 16, 2006 4:46 am
by bagman
Thanks, Rumple man,

Couldn't get the original code to work, thought it was me doing something wrong. :)

Got it going now, appreciate it.

Good Luck to you

Posted: Wed Oct 04, 2006 6:14 pm
by TheRumpledOne
My paintbar file is attached.

Lots of stuff in there.

Posted: Sun Nov 26, 2006 6:22 pm
by MIGI
Hi TRO,

do you really mean 'Day High' and 'Day Low'? I have changed it in my version to 'Bar High' and 'Bar Low' and it works.