PureBytes Links
Trading Reference Links
|
Dear Jules,
Thank you very much for quickest reply
..YES.. it showing me exactly what i needed
Thanks a lot
--- In amibroker@xxxxxxxxxxxxxxx, "jooleanlogic" <jooleanl@xxx> wrote:
>
> Do you mean like this?
> Paste it at the end of your existing code
>
>
> ColumnCount = Param("Column Count", 10);
> rowCount = Param("Row Count", 10);
> ColumnWidth = ChartWidth / ColumnCount;
> rowHeight = ChartHeight / rowCount;
>
> y = y1Chart;
> for (row=0; row<rowCount; row++){
> x = x1Chart;
> for (Col=0; Col<ColumnCount; Col++){
> GfxRectangle(x, y, x+ColumnWidth, y+rowHeight);
> x += ColumnWidth;
> }
> y += rowHeight;
> }
>
>
> Jules.
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "soni67c" <soni67c@> wrote:
> >
> > Hello senior members,
> > I am using this below formula which plots rectangle ,
> > I need your kind help to divide this into 10 equal parts. or give scaling from 0 to 10 [ bottom 0 and top 10 ]
> > //Formula
> > // THE LOW_LEVEL GRAPHICS FOR THE CHART:
> > MainChartWidth = Status("pxchartwidth");
> > MainChartHeight = Status("pxchartheight");
> > Font= ParamList("Font:","Arial|Calibri|Futura|Tahoma|Times New Roman", 0);
> > ChartColor= ParamColor("Background Color", colorWhite);
> > ChartColor= ParamColor("Background Color", colorWhite);
> > X_Location= Param("X Location", 700, 1, MainChartWidth, 1);
> > Y_Location= Param("Y Location", 10, 1, MainChartHeight, 1);
> > ChartWidth= Param("Chart Width", 15, 1, MainChartWidth, 1);
> > ChartHeight= Param("Chart height", 60, 1, MainChartHeight, 1);
> > // GfxSetOverlayMode(Transparent);
> > x1Chart = X_Location;
> > y1Chart = Y_Location;
> > x2Chart = X_Location + ChartWidth;
> > y2Chart = Y_Location + ChartHeight;
> >
> > // THE PLOT AREA:
> > HeightPercent = 0.05;
> > CellHeight = (HeightPercent * ChartHeight/2);
> > RightMargin = 0.05;
> > UpperLimit= y1Chart + ((HeightPercent + 0.01) * ChartHeight);
> > LowerLimit= y1Chart + ((1 - HeightPercent - 0.01) * ChartHeight);
> > LeftLimit = x1Chart + 1;
> > RightLimit= X_Location + (ChartWidth * (1 - RightMargin));
> >
> > // Draw the Chart Area:
> > GfxSelectPen(colorBlack);
> > GfxSelectSolidBrush(ChartColor);
> > GfxRectangle(x1Chart, y1Chart, x2Chart, y2Chart);
> > Thank you and sorry for giving you trouble
> >
>
------------------------------------
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|