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

RE: [amibroker] Stylecloud



PureBytes Links

Trading Reference Links

Ok, i understand, thank you !

 

 

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

Best regards

 

Thomas

www.tradingbasis.com

support@xxxxxxxxxxxxxxxx

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

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Tomasz Janeczko
Sent: Sunday, January 08, 2006 3:34 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Stylecloud

 

1. Dan did not solve it. Dan applied my formula and that's it  (he's post was response to my example formula)

The formula I have posted here produces exactly the Stochastic chart Dan has attached.

The second picture has just invereted colors.

 

2. styleClipMinMax is available from 4.75.0 beta.

I am not going to remove it unless I find something better.


Best regards,
Tomasz Janeczko
amibroker.com

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

From: Tradingbasis

Sent: Sunday, January 08, 2006 3:02 PM

Subject: RE: [amibroker] Stylecloud

 

Hello Tomasz,

 

i’m sorry, indeed i have not seen your message. Thank you very much !

It really works excellent !

I was wondering how Dan has solved it.

 

Can you please tell me if you consider to remove the styleclipminmax function later ?

 

BTW: Since which amibroker version is the styleclipminmax available ?

 

Thanks a lot !

 

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

Best regards

 

Thomas

www.tradingbasis.com

support@xxxxxxxxxxxxxxxx

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

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Tomasz Janeczko
Sent: Sunday, January 08, 2006 2:43 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Stylecloud

 

Did you read MY answer ? I provided you with the formula already and Dan just used it.


Best regards,
Tomasz Janeczko
amibroker.com

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

From: Tradingbasis

Sent: Sunday, January 08, 2006 12:22 PM

Subject: RE: [amibroker] Stylecloud

 

Hello Dan,

 

yes, this is exactly what i would like to build. Have you got it work with amibroker ?

 

 

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

Best regards

 

Thomas

www.tradingbasis.com

support@xxxxxxxxxxxxxxxx

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

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Dan Clark
Sent: Saturday, January 07, 2006 11:29 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Stylecloud

 

Ah Ha!!!  Holdin’ back the good stuff!  I knew it!   ;-)

 

I fiddled with the formula for a few minutes and got the attached.  This opens many possibilities.

 

I’m sorry to hear of the issues, but I easily live with styleClipMinMax issues.  I never use WMF anyway.  I just clip a screenshot when necessary.  For printing, I can clip a screen shot and then print.  This is easy and fast…

 

Attached are two images taken using HyperSnap-DX.    The inverted image (white background) is single menu selection – about two seconds. 

 

Printing is even easier.   You set up the page setup to auto-scale to page format, and invert black and white.  The every printed chart is automatically scaled and inverted.   The printed version is excellent and almost the same as AB’s. 

 

Please document this.  Even with the limitations, this is VERY useful.

 

Regards,

 

Dan.

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Tomasz Janeczko
Sent: Saturday, January 07, 2006 12:29 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Stylecloud

 

Hello,

 

Colors and rendition are 100% correct. Think about it. In your formula color depends on CURRENT bar value.

So area between CURRENT and NEXT bar is plotted with selected color. Now when

chart swings above your "borderline" the color changes from NEXT bar and not in the "Middle" of the bars.

There is no way to specify time between bars.

 

StockCharts are NOT formula based. They hard coded fills and the simply fill everything above border line with

one color and everything below border with abother color.

 

To create such rendition is somewhat tricky because it involves overlay of two charts and appropriate clipping of the drawing

to "appear" as interpolated. This is also possible using AmiBroker but this method has one problem - it is not

printer friendly because printer drivers and windows metafiles can not properly handle clipping regions.

 

The same applies to colorizing Stoch overbuy/oversell levels.

 

This is can be done using "secret" style styleClipMinMax:

 

Stochastic color oversell/overbuy levels

 

SetChartOptions(0,0,ChartGrid30 | ChartGrid70 );
r =
StochK(14);
Plot( r, "StochK", colorBlack );
PlotOHLC( r,r,50,r, "", IIf( r > 50, colorRed, colorGreen ), styleCloud | styleClipMinMax, 30, 70 );

 


Best regards,
Tomasz Janeczko
amibroker.com

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

From: Dan Clark

Sent: Saturday, January 07, 2006 4:24 PM

Subject: RE: [amibroker] Stylecloud

 

Hi Thomas,

 

I started using the styleCloud.  I like it for certain types of charts much better than histograms but I see one issue with it – colors change with the change of bar value and not with the change over or under a certain quantitative value.  For example, in the attached Chaikin MF(10) charts of WRES, the AB version shows odd changes in colors, while the StockCharts version shows the correct (IMO) rendition.

 

In the attached ChaikinStyleCloud.gif chart, look at the 12/7 bar (under the cursor line).   The CMF(10) value for that bar is “-.07” (negative).  The 12/6 value is “.07” (positive).   In the AB version, the cloud color is the green color of the 12/6 (positive) bar even after the bar drops below the “0” line between the 12/6 and 12/7 bar.   In the StockCharts version, the color correctly changes at the “0” line.

 

Here’s the color code for the chart:

 

CMFColor = IIf(CMFI >= 0, PColor, NColor);

 

Apparently AB translates this as “when the bar CMF value changes to goes over 0, change colors”.  My preferred translation would be “when the interpolated CMF value goes over 0, change colors.   I need to report this to Tomasz, but haven’t had the time. 

 

It looks like a similar issue.   Is this the issue to which you were referring?

 

Regards,

 

Dan.


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Tradingbasis
Sent: Saturday, January 07, 2006 3:54 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Stylecloud

 

Hello,

stylecloud looks good, however i have found no way to plot typical
oversold/overbought areas on any indicator with cloud correctly.

Can someone help please ?


- - - - - - - - - - - - - - - - - - - -
Best regards

Thomas
www.tradingbasis.com
support@xxxxxxxxxxxxxxxx
- - - - - - - - - - - - - - - - - - - -

 

 




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





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS