[amibroker] Solid Fill See Through?

2010-09-08 Thread blackcat54
The following formula plots Trend1Sm with a solid blue fill.

Is there a way to control the translucence or opacity of the fill?

I want to overlay two solid plots and see both. The closest I have come is to 
plot one as a fat histogram, and one as solid.

Plot(Trend1Sm,Trend 1 Sm,ParamColor( Color, colorBlue ),1);

PlotOHLC(Trend1Sm,Trend1Sm,0,Trend1Sm,,ParamColor( Color, colorBlue 
),styleCloud);

Thanks


[amibroker] Need Help with Formula

2010-09-06 Thread blackcat54
Having trouble with the following formula. If I calculate the value of adj and 
enter the numerical value into the z expression in place of adj, the formula 
works.

For example, if adj =10, and I enter 10 into the z expression 
z=IIf(RBC5,a,b+10); the formula plots like I want. If I leave Adj in the z 
expression, the formula plots in a different (useless) way.

mp=IIf(C,(H+L+C)/3,(H+L)/2);

a=Ref(MA(mp,10),5);

b=EMA(mp,10);

adj=ValueWhen(rbc=6,a-b,1);

RBC=LastValue(Cum(1))-Cum(1)+1;

z=IIf(RBC5,a,b+adj);

Plot(z,Extended Avg 10-3,colorRed,styleLine);



Thanks


[amibroker] Composite Avg...Need Help

2010-09-05 Thread blackcat54
I want to plot a composite 2-part moving average composed of a true centered 
avg, and a exponential avg.

Here is how it should work:

If there is a value of High 5-days into the future, plot y (10-day centered 
avg) , otherwise plot z (10-day exponential avg). I want to plot a single 
composite avg comprised of a true centered avg when it can be computed, and 
an exponential avg when there is not enough forward data available to compute 
the centered avg.

My attempt:

mp=(H+L)/2;

x=Ref(H,5);

y=Ref(MA(mp,10),5);

z=EMA(mp,10);

Plot ( IIf ( IsNull (x) ,z ,y ), test, colorRed,styleLine) ;

I can't get it to work, It plots y, the centered avg but won't plot z, the 
exponential average.

Ideas?

Thanks


[amibroker] Data Window?

2010-09-04 Thread blackcat54
Is there some kind of data window feature that will display indicator and price 
values when you mouse over them?

Thanks