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

Re: [amibroker] Re: Migration to Amibroker from Wealth-lab



PureBytes Links

Trading Reference Links

Hello,

Thank you for your e-mail. As you know Plot statement has only
one color array to use.  And it either affects outline of the candle
leaving up/down candle colors as defined in the preferences,
or it affects entire candle.  AB simply uses "traditional" meaning of
up candle (Close > Open) and down candle ( Close < Open).

What you essentially want to do is to redefine the meaning of
up and down candles so they do not show Open-Close relationship
or have separate independent outline and fill color control.
For that you would need to have not one but two color arrays 
(one for outline and one for fill). I will provide such functionality in 
upcoming version.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "scourt2000" <stevehite@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, October 10, 2007 12:51 AM
Subject: [amibroker] Re: Migration to Amibroker from Wealth-lab


> 
> Yes.  Here is the standard candle coloring for up/down colors:
> 
> Plot( Close, "Price", colorBlack, styleCandle );
> 
> What I am doing is this:
> 
> myCandleColors = [formula to determine color for each candle];
> Plot( Close, "Price", myCandleColors, styleCandle);
> 
> This works as far as coloring the candles but you'll get the entire 
> candle colored (wick, body and body outline).  What I want is for the 
> wick and body outline to remain colorBlack, but have the body color 
> be the color specified in myCandleColors.
> 
> Tomasz, I tried all of the possible options in Amibroker to try to 
> make this happen and I cannot produce a chart where candle bodies can 
> vary in color but keep the wicks and body outlines black.
> 
> If you can produce this chart, please show me how to do it.
> 
> Thanks!
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> 
> wrote:
>>
>> Hello,
>> 
>> Ah... OK, now I understand what you are after. Sometimes (often) e-
> mail is not
>> perfect communication medium :-) 
>> I did not know that you wanted different colorings that user-
> definable UP candle color when
>> Close > Open and DOWN candle color when Close < Open.
>> So, if I get this correctly you are coloring candles based on 
> something else than Open - Close
>> relationship. Am I getting this right?
>> 
>> Best regards,
>> Tomasz Janeczko
>> amibroker.com
>> ----- Original Message ----- 
>> From: "scourt2000" <stevehite@xxx>
>> To: <amibroker@xxxxxxxxxxxxxxx>
>> Sent: Tuesday, October 09, 2007 9:46 PM
>> Subject: [amibroker] Re: Migration to Amibroker from Wealth-lab
>> 
>> 
>> > 
>> > Not quite.  
>> > 
>> > Try custom coloring those candle bodies and show that same 
> picture 
>> > with the black wicks and black body outlines.  What you're 
> showing 
>> > are the default up and down candle body colorings.   If I have a 
>> > script that colors each candle based on a study I'm running, the 
> best 
>> > I can do now with Amibroker is to have the color of the candle 
> body, 
>> > candle body outline and candle wicks all the same color.
>> > 
>> > 
>> > --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@> 
>> > wrote:
>> >>
>> >> Hello,
>> >> 
>> >> > 
>> >> > You can have different candle colors but you can NOT have 
> black 
>> > wicks 
>> >> > with a black outline of your candle color body.   
>> >> 
>> >> Like this?
>> >> 
>> >> 
>> >> 
>> >> Best regards,
>> >> Tomasz Janeczko
>> >> amibroker.com
>> >> ----- Original Message ----- 
>> >> From: "scourt2000" <stevehite@>
>> >> To: <amibroker@xxxxxxxxxxxxxxx>
>> >> Sent: Tuesday, October 09, 2007 4:21 PM
>> >> Subject: [amibroker] Re: Migration to Amibroker from Wealth-lab
>> >> 
>> >> 
>> >> > 
>> >> > I can tell you what you cannot do with candle coloring in 
>> > Amibroker 
>> >> > (yes, I have reported this a LOT to support already):
>> >> > 
>> >> > You can have different candle colors but you can NOT have 
> black 
>> > wicks 
>> >> > with a black outline of your candle color body.   I've said 
> this 
>> >> > countless times.  Charts look a lot better when you can have a 
>> > black 
>> >> > outline of your colored candle bodies.  No combination of 
>> > preferences 
>> >> > will make this happen.
>> >> > 
>> >> > 
>> >> > --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@> 
>> >> > wrote:
>> >> >>
>> >> >> > Not being able to draw lines (i.e. anything other   than 
>> >> > horizontal) a la WLab,
>> >> >> What are you taking about??????????????????????????
>> >> >> 
>> >> >> You can draw lines, circles, polygons EVERYTHING ! 
>> >> > http://www.amibroker.com/guide/a_lowlevelgfx.html
>> >> >> 
>> >> >> As for line drawing:
>> >> >> http://www.amibroker.com/f?gfxlineto  (Y-value pixel based)
>> >> >> http://www.amibroker.com/f?linearray  (Y-value price based)
>> >> >> 
>> >> >> > and I miss being able to alter the  the background colour 
> on a 
>> >> > per bar basis.
>> >> >> Again what ???????????????????????????
>> >> >> 
>> >> >> Here it is - every bar color change in - actually 24 bit 
> palette 
>> >> > every bar different color !
>> >> >> 
>> >> >> Plot( Close, "Price", colorBlack, styleCandle ); 
>> >> >> BkCOlor = ColorRGB( BarIndex() % 255, BarIndex()/255 % 255, 
> 255 -
>> > 
>> >> > BarIndex() % 255 ); 
>> >> >> Plot( 1, "", BkColor, styleArea | styleOwnScale | 
> styleNoLabel, 
>> > 0, 
>> >> > 1 ) 
>> >> >> 
>> >> >> (This is one of many possible ways, the other way is using 
> low-
>> >> > level gfx).
>> >> >> 
>> >> >> I suggest you first read the User's Guide, it will open your 
>> > eyes !
>> >> >> 
>> >> >> Best regards,
>> >> >> Tomasz Janeczko
>> >> >> amibroker.com
>> >> >> ----- Original Message ----- 
>> >> >> From: "c_r_south" <colin_south@>
>> >> >> To: <amibroker@xxxxxxxxxxxxxxx>
>> >> >> Sent: Tuesday, October 09, 2007 3:19 PM
>> >> >> Subject: [amibroker] Re: Migration to Amibroker from Wealth-
> lab
>> >> >> 
>> >> >> 
>> >> >> > You may, as I did, find it quite a long learning curve. You 
>> > will 
>> >> > miss some facilities, like the 
>> >> >> > interactive debugger, and being able to plot to a separate 
>> > pane 
>> >> > from within the main 
>> >> >> > program, although, once you get used to using WriteVal and 
>> >> > styleOwnScale in the Plot 
>> >> >> > function, you can come quite close to WLab's debugging 
>> >> > capability. You will need to 
>> >> >> > develop a slightly different mindset, with the predominence 
> on 
>> >> > solving using vector 
>> >> >> > aritmetic, it really is just a mind set thing. Not being 
> able 
>> > to 
>> >> > draw lines (i.e. anything other 
>> >> >> > than horizontal) a la WLab, will come as a bit of a shock, 
> and 
>> > I 
>> >> > miss being able to alter the 
>> >> >> > the background colour on a per bar basis. I'm currently 
>> >> > struggling with multiple trades, 
>> >> >> > and integrated brokerage (with IB), but will persevere and 
>> > there 
>> >> > are other guys in the AB 
>> >> >> > formum who are very helpful.
>> >> >> > 
>> >> >> > The advantages of AB are well worth the effort, the speed 
> of 
>> >> > execution, the ability to move 
>> >> >> > between layouts (compared with WLabs worksheets, which I 
> find 
>> >> > painfully slow) and the 
>> >> >> > continuous stream of improvements are just a few.
>> >> >> > 
>> >> >> > To echo a previous response, my biggest leap forward was 
>> >> > following Howard Bandy's 
>> >> >> > book, which, apart from a simple lead in to programming in 
> AB, 
>> >> > has a wealth of useful 
>> >> >> > information.
>> >> >> > 
>> >> >> > I keep WLB, but it has become a background tool, and have 
> now 
>> >> > found that I prefer to use 
>> >> >> > AB, and am prepared to spend that extra time to gain the 
>> >> > advantages.
>> >> >> > 
>> >> >> > Hope this helps,
>> >> >> > Colin
>> >> >> > 
>> >> >> > 
>> >> >> > --- In amibroker@xxxxxxxxxxxxxxx, "neil_cs_um" 
> <neil_cs_um@> 
>> >> > wrote:
>> >> >> >>
>> >> >> >> I have been a long time user of Wealth-lab. I am planning 
> to 
>> >> > move to
>> >> >> >> Amibroker. I was wondering if somebody can share his 
>> >> > experiences. 
>> >> >> >> 
>> >> >> >> I have got around 30-40 wealthlab chartscripts which I 
> need to
>> >> >> >> translate into AFL. So far, it looks it should not be 
>> > difficult, 
>> >> > and
>> >> >> >> AFL seems to have all the features and the functions of 
>> >> > Wealthscript.
>> >> >> >> Is it straight-forward or am I going to be in some 
> trouble? 
>> > Is 
>> >> > there a
>> >> >> >> tool for conversion ?
>> >> >> >> 
>> >> >> >> I also have one EOD and one realtime data adapter and a 
> COM 
>> > add-
>> >> > in.
>> >> >> >> All written in C#. Is it possible to use them in 
> amibroker ?
>> >> >> >> 
>> >> >> >> Can I execute scripts in Amibroker from other applications 
>> >> > through COM ?
>> >> >> >>
>> >> >> > 
>> >> >> > 
>> >> >> > 
>> >> >> > Please note that this group is for discussion between users 
>> > only.
>> >> >> > 
>> >> >> > To get support from AmiBroker please send an e-mail 
> directly 
>> > to 
>> >> >> > SUPPORT {at} amibroker.com
>> >> >> > 
>> >> >> > For NEW RELEASE ANNOUNCEMENTS and other news always check 
>> > DEVLOG:
>> >> >> > http://www.amibroker.com/devlog/
>> >> >> > 
>> >> >> > For other support material please check also:
>> >> >> > http://www.amibroker.com/support.html
>> >> >> > 
>> >> >> > Yahoo! Groups Links
>> >> >> > 
>> >> >> > 
>> >> >> > 
>> >> >> > 
>> >> >> >
>> >> >>
>> >> > 
>> >> > 
>> >> > 
>> >> > 
>> >> > Please note that this group is for discussion between users 
> only.
>> >> > 
>> >> > To get support from AmiBroker please send an e-mail directly 
> to 
>> >> > SUPPORT {at} amibroker.com
>> >> > 
>> >> > For NEW RELEASE ANNOUNCEMENTS and other news always check 
> DEVLOG:
>> >> > http://www.amibroker.com/devlog/
>> >> > 
>> >> > For other support material please check also:
>> >> > http://www.amibroker.com/support.html
>> >> > 
>> >> > Yahoo! Groups Links
>> >> > 
>> >> > 
>> >> > 
>> >> > 
>> >> >
>> >>
>> > 
>> > 
>> > 
>> > 
>> > Please note that this group is for discussion between users only.
>> > 
>> > To get support from AmiBroker please send an e-mail directly to 
>> > SUPPORT {at} amibroker.com
>> > 
>> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>> > http://www.amibroker.com/devlog/
>> > 
>> > For other support material please check also:
>> > http://www.amibroker.com/support.html
>> > 
>> > Yahoo! Groups Links
>> > 
>> > 
>> > 
>> > 
>> >
>>
> 
> 
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> Yahoo! Groups Links
> 
> 
> 
> 
>


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
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:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto: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/