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

Re: [amibroker] Re: Indicator only shows if I double click in the window?



PureBytes Links

Trading Reference Links

Hello,

If you have script parts in your indicators always use
SetBarsRequired function to give a hint how many
previous bars your script requires to properly execute.

http://www.amibroker.com/guide/afl/afl_view.php?name=SETBARSREQUIRED


Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "mmqp" <mmqp@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, April 05, 2003 2:42 AM
Subject: [amibroker] Re: Indicator only shows if I double click in the window?


> Similar but not exactly same problem.  I have to hit apply button 
> several time.  I even have to reload the AFL and hit apply in several 
> instances to get the chart updates.  I suspect it has to do with some 
> memory cache issues.  BTW, I have a embeded Jscript in my indicator 
> which will open,read in datas every time I change a new ticker 
> symbol.  This Script does not get executed unless I go thru steps 
> listed previously.
> 
> In summary,  Chart does not update 100% of the time.
> 
> Weird.
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> > Just tried that, the scaling makes no difference. At least it does 
> work,
> > just have to double click.
> > 
> >  
> > 
> >  
> > 
> > Cheers,
> > Graham
> > 
> >  <http://groups.msn.com/ASXShareTrading>
> > http://groups.msn.com/ASXShareTrading
> > 
> >  <http://groups.msn.com/FMSAustralia> 
> http://groups.msn.com/FMSAustralia
> > 
> > -----Original Message-----
> > From: Jayson [mailto:jcasavant@x...] 
> > Sent: Friday, 4 April 2003 10:44 PM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: RE: [amibroker] Indicator only shows if I double click in 
> the
> > window?
> > 
> >  
> > 
> > Graham,
> > 
> > it works fine here. Perhaps it is a scaling issue? I have had 
> similar
> > problems on some of my indicators. If I open the indicator and look 
> at the
> > scale (automatic) it will show numbers far outside of the 
> indicators range.
> > You might try simply setting it to manual with number you know are 
> with in
> > the range..
> > 
> >  
> > 
> > Jayson 
> > 
> > -----Original Message-----
> > From: Graham [mailto:gkavanagh@x...]
> > Sent: Friday, April 04, 2003 8:21 AM
> > To: AB yahoo group
> > Subject: [amibroker] Indicator only shows if I double click in the 
> window?
> > 
> > I am testing some ideas about volatility and other various items.
> > 
> > I have cobbled together this little set of squiggly lines but it 
> seems to
> > only show on first opening the pane if I double click on the window.
> > Otherwise I get a line at zero. This is only when I first open AB, 
> after
> > that it is ok.
> > 
> > Can someone tell me if they get a similar effect, and maybe why it 
> is
> > happening.
> > 
> >  
> > 
> > Period1 = 21;
> > 
> > period2  =9;
> > 
> > Volat = (HHV(H,period1) - LLV(L,period1))/((HHV(H,period1) +
> > LLV(L,period1))/2);
> > 
> > Voldoll = ((HHV(H,period1) + LLV(L,period1))/2) * EMA(V,period1);
> > 
> > VolInd = Voldoll * Volat;
> > 
> >  
> > 
> > Volatday = (H-L)/( (H+L)/2 );
> > 
> > Voldollday = (H+L)/2 * V;
> > 
> > Volindday = Voldollday * Volatday;
> > 
> >  
> > 
> > GraphXSpace = 1;
> > 
> >  
> > 
> > Plot(EMA(Volindday/volind,period1),"Ratio Daily to Period Volatility
> > ",colorRed,styleLine);
> > 
> > Plot(EMA(Volindday/volind,period2)," Trigger ",colorBlue,styleLine);
> > 
> > Plot(0.1,"",colorWhite,styleLine+styleNoLabel);
> > 
> >  
> > 
> > Cheers,
> > Graham
> > 
> >  <http://groups.msn.com/ASXShareTrading>
> > http://groups.msn.com/ASXShareTrading
> > 
> >  <http://groups.msn.com/FMSAustralia> 
> http://groups.msn.com/FMSAustralia
> > 
> >  
> > 
> > 
> > 
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > --------------------------------------------
> > Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> > 
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> > <http://docs.yahoo.com/info/terms/> . 
> > 
> > 
> > 
> > 
> > 
> > Yahoo! Groups Sponsor
> > 
> > 
> > 
> > ADVERTISEMENT
> >  
> > 
> <http://rd.yahoo.com/M=245454.3115308.4434529.1728375/D=egroupweb/S=17
> 056321
> > 98:HM/A=1457554/R=0/*http:/ipunda.com/clk/beibunmaisuiyuiwabei> 
> > 
> > 
> >  
> > <http://us.adserver.yahoo.com/l?
> M=245454.3115308.4434529.1728375/D=egroupmai
> > l/S=:HM/A=1457554/rand=588260395> 
> > 
> > 
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > --------------------------------------------
> > Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> > 
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> > <http://docs.yahoo.com/info/terms/> .
> 
> 
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
> 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE Cell Phones with up to $400 Cash Back!
http://us.click.yahoo.com/_bBUKB/vYxFAA/i5gGAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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