PureBytes Links
Trading Reference Links
|
All,
How do you create a Hollow Candle with Lines around the body of the candle
over multiple days, using the Plot Function?
I'm trying to create Bricks for essentially TLB.... Then I will overlay
price action on top of it...
1 Brick = 3 Consecutive Lows or 3 Consecutive Highs
If if wasn't a consecutive low or high then the brick lines would remain
the height of the previous one
In this example, it took eleven bars to get 3 consecutive down and eleven
bars to get 3 consecutive up
for a total of twenty two bars. So, I guess I need to accumulate the
consecutive lows until there are three, then make one brick, but show each
bar.
I know it can't be that hard, but I can't figure it out.
Thanks for any help...
These below don't work, my formula probably isn't right.
How can one do it with a loop function?
Would that be easier?
Mr. Valley
brickdown = (Ref(C,-1) > C) AND (Ref(C,-2) > Ref(C,-1)) AND (Ref(C,-3) >
Ref(C,-2)) ;
brickup = (Ref(C,-1) < C) AND (Ref(C,-2) < Ref(C,-1)) AND (Ref(C,-3) <
Ref(C,-2)) ;
//bdless3 = ValueWhen(brickdown =1,Ref(brickdown ,-3));
//buless3 = ValueWhen(brickup =1,Ref(brickup ,-3));
Plot(brickup ,"brickup ",6,512);
Plot(brickdown,"brickdown ",4,styleArea);
Nor this,
/* Stacking Bricks v1 */
brickdown = (Ref(C,-1) > C) AND (Ref(C,-2) > Ref(C,-1)) AND (Ref(C,-3) >
Ref(C,-2)) ;
brickup = (Ref(C,-1) < C) AND (Ref(C,-2) < Ref(C,-1)) AND (Ref(C,-3) <
Ref(C,-2)) ;
//Plot(brickdown
Graph1 = brickdown *10 ;
Graph1BarColor = 4;
Graph1Style = 64;
Graph2 = brickdown * 10;
Graph2BarColor = 6 ;
Graph2Style = 64;
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|