Dear Mike,

Thank you very much for your help.

Best regards,

vgakkhar

On Mon, 14 Jun 2010 13:22:23 +0530, Mike <sfclimb...@yahoo.com> wrote:

> You can have as many colors as you want just by following the same IIF 
> pattern. The final color of the final nested IIF is the color to use when all 
> others do not apply.
>
> colors = IIF(condition1, colorGreen, IIF(condition2, colorRed, colorYellow));
>
> Mike
>
> --- In amibroker@yahoogroups.com, "Vinay Gakkhar" <vgakk...@...> wrote:
>>
>> Dear Ara,
>>
>> Thanks for your immediate reply.
>>
>> As help files tell me how to have 2 colors, and I need 3 colors, that is why 
>> I am seeking guidance from persons like you.
>>
>> Can you please help me?
>>
>> Best regards,
>>
>> vgakkhar
>>
>>
>> On Mon, 14 Jun 2010 11:44:35 +0530, Ara Kaloustian <a...@...> wrote:
>>
>> > Look in help files for PlotShapes
>> >   ----- Original Message -----
>> >   From: Vinay Gakkhar.
>> >   To: Amibroker
>> >   Sent: Sunday, June 13, 2010 10:46 PM
>> >   Subject: [amibroker] Need help in coding
>> >
>> >
>> >   I use the following to get price bars in red, green or yellow color; red 
>> > for downtrend, green for uptrend and yellow for unclear trend.
>> >
>> >   PlotOHLC( Open, High, Low, Close, "Price", color, styleLine );
>> >
>> >   How should my PlotShapes statement be so that I can get up & down arrows 
>> > also in the same 3 colors?
>> >
>> >   Thank you,
>> >
>> >   vgakkhar
>> >
>> >
>> >
>> >
>> >
>>
>


------------------------------------

**** 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:
    amibroker-dig...@yahoogroups.com 
    amibroker-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to