Hi Mark1, Thanks for your code post, but i for some reason can't open that zip file. Can you please post it in text format, so i can copy and paste it into amibroker. tia
Hehe, When she bitches and moans I tell her I'm going back to Thailand alone for good if you don't quit the fuss Lol that works like a charm...I'm a SOB I know
SetChartOptions(0,chartShowArrows|chartShowDates); _N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) )); pivotH=H> Ref(H,-1)AND Ref(H,-1)> Ref(H,-2)AND L> Ref(L,1) ; pivotL=L< Ref(L,-1)AND Ref(L,-1)< Ref(L,-2)AND H< Ref(H,1); //Uncomment if you want to plot the arrows //PlotShapes( pivotH*shapeDownArrow,colorYellow); //PlotShapes( pivotL*shapeUpArrow,colorBlue); /////////////////////////////////////////////////////////////////////////////////////// //Comment if you don't want to color the bars paint = IIf(C>O, colorGreen, colorRed); paint = IIf(pivotH, colorYellow, paint); paint = IIf(pivotL, colorBlue, paint); Plot(C, "Close", paint, styleNoTitle | GetPriceStyle());
Constant volume bars are generated based on the user's setting for a particular number of contracts. For example, a 1000 volume bar chart will generate one bar for every 1000 contracts. The width of each bar is constant just like it would be for a tick or most time-based charts. Equivolume bars are different....they are time-based bars with an added feature of the width of each bar varying based on volume. Wider bars have more volume associated with them than narrower bars on the same interval setting. Hope it helps.
Thanks Mark1 and guys for translating and posting, those yellow/blue bars picks some interesting spots.
Mark1, am I correct to say that yellow/blue bars will appear only after the close of the next bar, thus we are getting not a full picture by looking at historical charts for 123pivot? So, the real entry would only be on NEXT bar close?
Cant tell you how many arguments this has caused.... she stopped complaining once the money came rolling in