[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: Vertical time zones



PureBytes Links

Trading Reference Links

Hi,

Thanks

Alan

traderix2003 wrote:
> Hi,
>
> try this:
>
> tn = TimeNum();
>
> Color = IIf( tn >=080000 AND tn <= 140000, colorBlue,colorLightBlue);
>  
>
> Plot( 1, "", Color, styleArea | styleOwnScale, 0, 1);
>
>
>
> Changing the last "1" you can change the width put it on the whole 
> pane or make a ribbon below the chart
>
> traderix
>
> --- In amibroker@xxxxxxxxxxxxxxx, "firehorse888uk" 
> <firehorse888uk@xxx> wrote:
>   
>> Hi,
>>
>> Has anyone got code to plot a background colour for timezones.
>>
>> For example, 
>> between 8:30 and 13:30 to plot a background of blue
>> between 13:30 and 20:00 to plot a background of green
>> between 00:00 and 08:00 to plot a background of red
>>
>> Thanks
>> Alan
>>
>>     
>
>
>   


		
___________________________________________________________ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" ? The Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html