1. You should see
a monthly separator in Daily, not in Monthly timeframe. Similarly you will not
see a daily separator in Daily timeframe.
2. Verify that grid
and background are set to different colors in Tools/Preferences/Colors: The
fact that you see a monthly separator in 5-15 min. suggest that they are
different.
3. Verify that there
is no code overriding the Preferences settings, for example SetChartBkColor(
colorBlack ) when grid color is set to black.
Personally, I don’t
use the separators selected in the Preferences, because the dot separations
are too far spaced apart to be easily seen when stepping rapidly through a
chart.
Instead I use
code like shown below (most recent month/day are in different colors than
previous months/days). In the sub-daily timeframes this will show vertical
lines at daily/monthly starts. In the daily/weekly/monthly time frame this
will result in small tick marks at the day/week/month bars.
SetChartOptions(
2
,chartShowDates);
SetChartBkColor( colorLightGrey ) ;
Plot(C,
"C"
,
1
,
64
);
Vertical=IIf(Month()!=Ref(Month(),-
1
),
1
,
0
);
//Current Month in
green
Plotcolor = IIf(Now(format=
7
) ==Month(),colorGreen,IIf(Month()!=Ref(Month(),-
1
),
1
,colorLightGrey));
Plot(Vertical,
""
,Plotcolor,styleHistogram|styleOwnScale|styleNoLabel);
//Current Day in
bluegreen
Vertical=IIf(DateNum()!=Ref(DateNum(),-
1
),
1
,
0
);
Plotcolor = IIf(Now(format=
3
) ==DateNum(),
6
,IIf(DateNum()!=Ref(DateNum(),-
1
),
1
,colorLightGrey));
Plot(Vertical,
""
,Plotcolor,styleHistogram|styleOwnScale|styleNoLabel);
From: amibroker@xxxxxxxxxxxxxxx
[mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Aron
Sent: Thursday, January 28, 2010 4:11 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] I don't have a line between each month ?
preferences>charting>show vertical line between months
On 1/28/2010 2:14 AM, Yves wrote:
I'm made my graphe(PBC,MA, etc...)
But I don't have a line between each month in Daily and
monthly
I'm have It in 5,15 and 60 minute.
Merci
YLTech ( Yves L. )
Le présent message et les documents qui y sont joints sont réservés
exclusivement au destinataire indiqué. Il est strictement interdit d'en
utiliser ou d'en divulguer le contenu. Si vous recevez le présent message par
erreur, veuillez le détruire S.V.P. et nous en aviser immédiatement afin que
nous puissions corriger nos dossiers. Merci.
This message and the attached documents may contain privileged or
confidential information that are intended to the addressee only. Any
unauthorized disclosure is strictly prohibited. If you happen to receive this
message by error, please delete it and notify us immediately so that we may
correct our internal records. Thank you.
yltech@xxxxxxxxxxxx
|
No
virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.733 / Virus Database: 271.1.1/2651 - Release Date: 01/28/10
01:36:00