Can this be done in Amibroker ?

#3
shajans

Please see the attached AFL

you have to adjust Hor and Ver parameters according to your screen size
and the position it where you want to see the price on the screen
and you can also change the size of the Price also

vidyasagar
Thanks very much Vidyasagar for your efforts !
I am using ver 4.90.
It should work on versions above this.
For me, an error is displayed as below :

 
#5
shajans I made it in Ver 5.3, please see the Image

vidyasagar
I have made a few changes, now my chart appears as detailed below:
Could you please make a few more changes:

1. A plus sign before the change, minus sign is already there.
2. IF C > YC, color = green, IF C = YC, color=blue, IF C < YC, color = red.
3. The change in price is now coming in fractions, (5.89) should it not be in multiples of 0.05 paise?.
4. 2 decimal points for C.

Thanks, looks cool.

modified code :

SetChartOptions(0,chartShowArrows|chartShowDates);
GraphXSpace=5;
Plot(C,"",colorBlack,styleCandle);

_SECTION_BEGIN("Magnified Market Price");
//by Vidyasagar, [email protected]//
FS=Param("Font Size",28,11,100,1);
GfxSelectFont("Arial", FS, 700, italic = False, underline = False, True );
GfxSetBkMode( colorWhite );
GfxSetTextColor( ParamColor("Color",colorViolet) );
Hor=Param("Horizontal Position",766,1,1200,1);
Ver=Param("Vertical Position",1,1,1,1);
GfxTextOut(""+C,Hor , Ver );
YC=TimeFrameGetPrice("C",inDaily,-1);
DD=Prec(C-YC,2);
xx=Prec((DD/YC)*100,2);
GfxSelectFont("Arial", 12, 700, italic = False, underline = False, True );
GfxSetBkMode( colorWhite );
GfxSetTextColor(ParamColor("Color",colorViolet) );
GfxTextOut(""+DD+" ("+xx+"%)", Hor+5, Ver+45 );
_SECTION_END();

----------------------------------------------------

 

THE LORD

Active Member
#6
thats my specality all the information any thing i can make it comes on the chart volume high low ligudity see this my chart im charting in saudi market
also i can make my grandmother name come on the chart