RE: [amibroker] 6.13 Beta Release Feature: Charting: new feature - Snap to Tick grid. Snap drawing tool end points to TickSize-spaced grid (if TickSize > 0 for given symbol)

 

Thanks Thomasz;

 

Still can’t get it to work.

 

I am wanting to set the tick size based on the Price, rather than enter it for each symbol, and so are using TickSize.

 

 

_SECTION_BEGIN("Price");

 

Indicative_Price = LastValue( ValueWhen( ExRem( Close, 0 ), Close ) );

 

printf("Indicative_Price %f", Indicative_Price);

 

SetChartOptions(0,chartShowDates);

ChartNumber = GetChartID();

Support = Study("SU", ChartNumber );

 

if (Indicative_Price > 5)

{

TickSize = 0.25;

}

 

else

   TickSize = 0.1;

}

 

 

printf("Tick_Size %f", TickSize);

 

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 ) ) ));

Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );

_SECTION_END();

 

 

Regards

 

Paul McLaren

AUS (61) 0400 111 757

tavenui@hotmail.com

tavenui@hotmail.co.uk

 

From: Tomasz Janeczko groups@amibroker.com [amibroker] [mailto:amibroker@yahoogroups.com]
Sent: Wednesday, 18 May 2016 9:26 PM
To: amibroker@yahoogroups.com
Subject: Re: [amibroker] 6.13 Beta Release Feature: Charting: new feature – Snap to Tick grid. Snap drawing tool end points to TickSize-spaced grid (if TickSize > 0 for given symbol)

 

 

Hello,

Thank you very much for your e-mail.

1. Go to Symbol Information, enter 0.01 in "Tick size" field
2. Select "Snap to Tick grid" from "Format" menu.
3. Draw a trendline - you will notice that start and endpoints of the trendline change with 0.01 increments

For greater effect you can enter 1 in "tick size".

Best regards,
Tomasz Janeczko
amibroker.com

On 2016-05-18 12:58, tavenui@googlemail.com [amibroker] wrote:

HI, I am working through the 6.13 features.

I am having difficulty with getting this to work as I expected.

Snap drawing tool end points to TickSize-spaced grid (if TickSize > 0 for given symbol)

I am wondering what settings I need to make.

Could someone please provide a worked example?

Regards

Paul

 

 

__._,_.___

Posted by: "Tavenui(AUS)" <tavenui@hotmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

Upgrade your account with the latest Yahoo Mail app
Get organized with the fast and easy-to-use Yahoo Mail app. Upgrade today!

**** 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/


.

__,_._,___


EmoticonEmoticon