Hello,

Thank you very much. It worked. When I tried myself I managed to get green
little arrows under every bar. :-)

Me very happy and thankful now,

JM

 

  _____  

Från: [email protected] [mailto:[EMAIL PROTECTED] För Steve
Dugas
Skickat: den 31 maj 2008 18:26
Till: [email protected]
Ämne: Re: [amibroker] ParamDate help needed.

 

Hi - You can try something like this. Untested...

 

StartDate = ParamDate( "Start Date", Date() );

DateBar = ValueWhen( DateNum() == StartDate, BarIndex() );

ArrowBar = DateBar + 3;

PlotShapes( IIF( ArrowBar == BarIndex(), ShapeUpArrow, ShapeNone ),
colorGreen );

 

Steve

 

----- Original Message ----- 

From: Jan Malmberg <mailto:[EMAIL PROTECTED]>  

To: [EMAIL PROTECTED] <mailto:[email protected]> ps.com 

Sent: Saturday, May 31, 2008 11:19 AM

Subject: [amibroker] ParamDate help needed.

 

Hello,

I have been trying to understand how to program the following:

>From a specific start date, that I set and get from ParamDate, I would like
to add 3 bars (and/or days) and then plot an arrow below that date. I am
still an absolute beginner in understanding AFL and programming in general,
so my apologies (sort of) if this is something which should be evident or
clearly explained in the manual and thus barely worth anyone’s time.

I appreciate any help or suggestion.

Best regards / JM

 

Reply via email to