PureBytes Links
Trading Reference Links
|
Thanks a lot, that solved it.
--- In amibroker@xxxxxxxxxxxxxxx, "Edward Pottasch" <empottasch@xxx> wrote:
>
> try adding:
>
> SetBarsRequired(-2,-2);
>
> at the top of your code.
>
>
>
> ----- Original Message -----
> From: hjansenvanrensburg
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Monday, December 07, 2009 5:19 AM
> Subject: [amibroker] Chart Signals Disappear when Interacting with Chart
>
>
>
> Hi,
>
> I have noticed that chart signals sometimes disappear when I interact with the chart, e.g. when I click on it or scroll it.
>
> Here is an example of a script where this problem occurs:
>
> // Script Start
>
> SetPositionSize(20, spsPercentOfEquity);
> SetTradeDelays(1, 1, 1, 1);
>
> BuyPrice = SellPrice = O;
>
> HHP = 16;
> LLP = 5;
>
> HH = Ref(HHV(C, HHP), -1);
> LL = Ref(LLV(C, LLP), -1);
>
> Buy = Cross(C, LL) AND BarCount > 248 * 2;
> Sell = Cross(HH, C);
>
> Buy = ExRem(Buy, Sell);
> Sell = ExRem(Sell, Buy);
>
> Plot(HH, "HH", colorLightBlue, styleLine);
> Plot(LL, "LL", colorLightOrange, styleLine);
> PlotShapes(shapeUpArrow * Buy, colorBrightGreen);
> PlotShapes(shapeDownArrow * Sell, colorRed
>
> // Script End
>
> Can anyone assist with this, please?
>
> HNJ van Rensburg
>
------------------------------------
**** 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/
|