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

[amibroker] Re: How do you plot dashed and solid line on same variable


  • Date: Mon, 07 Dec 2009 01:34:30 -0000
  • From: "Mike" <sfclimbers@xxxxxxxxx>
  • Subject: [amibroker] Re: How do you plot dashed and solid line on same variable

PureBytes Links

Trading Reference Links

Looks like Plot only accepts a scaler for the style argument. So, just split the charting in two:

trix9 = Trix(9);
Plot(IIF(trix9 > 0, trix9, null), "Trix", colorGreen, styleThick);
Plot(IIF(trix9 <= 0, trix9, null), "Trix", colorRed, styleDashed);

Mike

--- In amibroker@xxxxxxxxxxxxxxx, "Marty J" <prog200@xxx> wrote:
>
> I would like to plot a dashed line and solid line on the same variable.
> 
> For example if Trix(9) > 0 then styleThick  
> and if Trix(9) < 0 then StyleDashed 
> 
> 
> Thanks
>




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

**** 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-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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