PureBytes Links
Trading Reference Links
|
I applied your code and it works fine. Something in my original code in
which I inserted your piece to label each ribbon, is causing a conflict.
Strange. In a way I am glad to hear that you verified that my code doesn't
work.
Thanks for sticking with me on this and thanks for providing a solution. I
have some neat plans for this "indicator of indicators" and your code helps
me make it viable.
Dave
MM
_____
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of wavemechanic
Sent: Tuesday, July 25, 2006 10:41 PM
To: AmiBroker, User
Subject: Re: [amibroker] Re: Multi Row Colored Ribbons
The only thing I see wrong is "firstvisible..." and "lastvisible..." are
reversed per my original typo. But changing that does not fix things.
Something else is screwed up.
Attached is your original code with textOffset and Title added. This works.
Plug it into a blank pane. As noted before, there is a jump as the empty
bars are filled while scrolling and which can undoubtedly be corrected.
Aside from the one time empty bar jump, you can place the label anyplace on
the ribbon and it will stay during scrolling.
Bill
----- Original Message -----
From: MarketMonk777 <mailto:dlittner@xxxxxxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, July 25, 2006 11:44 PM
Subject: RE: [amibroker] Re: Multi Row Colored Ribbons
The labels stay on the left for you? Maybe it is the way I have my code
written. And now the one label where I use your code will not show up.
LOL.
Here is my code, let me know if and how it is different than yours.
Thanks,
Dave
MM
_____
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of wavemechanic
Sent: Tuesday, July 25, 2006 8:31 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Re: Multi Row Colored Ribbons
Good. I don't have a problem with the labels scrolling off the screen.
They do pop to the right once by the number of empty bars (e.g., 10) when
scrolling. If this is a problem, it should be possible to modify the code
in order to eliminate that behavior. Also, looking back through the
messages I see that you had trouble with AA output. I suspect (but don't
really know) that the problem is associated with runtime status. In any
case, you can easily see bar values by using Title.
Bill
----- Original Message -----
From: MarketMonk777 <mailto:dlittner@xxxxxxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, July 25, 2006 10:48 PM
Subject: RE: [amibroker] Re: Multi Row Colored Ribbons
Hi Bill,
I just tried it again and it works this time. The only thing I can think of
is that I inserted your code into a section that get's painted over.
The titles though do stay fixed at where they were first placed and as you
scroll the chart back in time, they scroll to the right and can scroll off
the screen out of view.
I am pushing well beyond my skill level and really appreciate all the
support that everyone including you is providing me.
Dave
MM
|