TheStrategyLab.com Free Support Forum

Forum for price action traders that want to learn WRB Analysis basic tutorial chapters 1, 2 and 3 prior to purchasing our advance trade methods
It is currently Sun Dec 17, 2017 5:06 am

All times are UTC - 5 hours




Post new topic Reply to topic Bookmark and Share  [ 3 posts ] 
Author Message
 Post subject: TOS HiddenWRBs and Zone plotted
PostPosted: Sat Aug 09, 2014 1:38 pm 
Offline

Joined: Fri Aug 08, 2014 11:36 am
Posts: 2
OK guys here is another approach. I plot only the hiddenwrbs and their respective zones.
You can choose either bars or candles
Enough said here it is:
Well I tried attaching it so you could just download it, but the forum does not allow the TOS extension so I will attach it with the TOS share function.

http://tos.mx/sy5moc

enjoy


Top
 Profile  
 
 Post subject: Re: TOS HiddenWRBs and Zone plotted
PostPosted: Sat Aug 09, 2014 3:28 pm 
Offline

Joined: Fri Aug 08, 2014 11:36 am
Posts: 2
Sorry Folks but I posted an outdated study.

Please see this one. I will drop in the code here:

declare upper;


Input BarKind={default Candles, Bars};

DEF RANGE;
DEF RANGEHIGH;
DEF RANGELOW;

switch (BARKIND) {
case CANDLES:
RANGE = absvalue(open - close);
RANGEHIGH= MidBODYVal() + (RANGE * .5);
RANGELOW =MIDBODYVAL() - (RANGE*.5);

case BARS:
RANGE = absvalue( high-low);
RANGEHIGH= HIGH;
RANGELOW =LOW;

}
def WRB = range > range[1] and range > range [2] and range > range[3];


DEF BULLgap= RANGElow[-1] > RANGEhigh[1] AND WRB;
DEF beargap = RANGElow[1]>RANGEhigh[-1] AND WRB;
DEF greentop = if bullgap then RANGElow[-1] else greentop[1];
DEF greenbottom = if bullgap then RANGEhigh[1] else greenbottom[1];
DEF redtop =if beargap then RANGElow[1]else redtop[1] ;
DEF redbottom =if beargap then RANGEhigh[-1] else redbottom[1];
DEF ISGAP = BEARGAP OR BULLGAP;
plot WRBars =wrb AND ISGAP ;

WRBars.SetLineWeight(5);
AssignPriceColor(if WRBars then Color.YELLOW else Color.CURRENT);
wrbars.setlineweight(3);

plot greenmoveupper = greentop ;
greenmoveupper.SetPaintingStrategy(PaintingStrategy.points);
greenmoveupper.SetLineWeight(2);
greenmoveupper.SetDefaultColor(CreateColor(095, 145, 095));

plot greenmovelower = greenbottom;
greenmovelower.SetPaintingStrategy(PaintingStrategy.points);
greenmovelower.SetLineWeight(2);
greenmovelower.SetDefaultColor(CreateColor(095, 145, 095));

plot redmoveupper =redtop;
redmoveupper.SetPaintingStrategy(PaintingStrategy.points);
redmoveupper.SetDefaultColor(CreateColor(145, 095, 025));
;
redmoveupper.SetLineWeight(2);
plot redmovelower = redbottom ;
redmovelower.SetPaintingStrategy(PaintingStrategy.points);
redmovelower.SetDefaultColor(CreateColor(145, 095, 025));


Top
 Profile  
 
 Post subject: Re: TOS HiddenWRBs and Zone plotted
PostPosted: Sun Aug 10, 2014 12:36 pm 
Offline

Joined: Fri Aug 08, 2014 8:28 pm
Posts: 1
Nice work!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Bookmark and Share  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Translated by Xaphos © 2007, 2008, 2009 phpBB.fr