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

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



PureBytes Links

Trading Reference Links









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.

 

<font size=2 color=black
face="Courier New">Period1 = <font size=2 color=fuchsia
face="Courier New">21<span
lang=EN-AU >;

<font size=2 color=black
face="Courier New">period2  =<font size=2 color=fuchsia
face="Courier New">9<span
lang=EN-AU >;

<font size=2 color=black
face="Courier New">Volat = (<span
lang=EN-AU >HHV<font
size=2 color=black face="Courier New">(<font size=2 color=red
face="Courier New">H<span
lang=EN-AU >,period1)
- <span lang=EN-AU
>LLV<font
size=2 color=black face="Courier New">(<font size=2 color=red
face="Courier New">L<span
lang=EN-AU >,period1))/((<font
size=2 color=blue face="Courier New">HHV<font size=2
color=black face="Courier New">(<font size=2 color=red
face="Courier New">H<span
lang=EN-AU >,period1)
+ <span lang=EN-AU
>LLV<font
size=2 color=black face="Courier New">(<font size=2 color=red
face="Courier New">L<span
lang=EN-AU >,period1))/<font
size=2 color=fuchsia face="Courier New">2<font size=2
color=black face="Courier New">);

<font size=2 color=black
face="Courier New">Voldoll = ((<font size=2 color=blue
face="Courier New">HHV<span
lang=EN-AU >(<font
size=2 color=red face="Courier New">H<font size=2 color=black
face="Courier New">,period1) + <font size=2 color=blue
face="Courier New">LLV<span
lang=EN-AU >(<font
size=2 color=red face="Courier New">L<font size=2 color=black
face="Courier New">,period1))/<font size=2 color=fuchsia
face="Courier New">2<span
lang=EN-AU >) * <font
size=2 color=blue face="Courier New">EMA<font size=2
color=black face="Courier New">(<font size=2 color=red
face="Courier New">V<span
lang=EN-AU >,period1);

<font size=2 color=black
face="Courier New">VolInd = Voldoll * Volat;

<font size=2 color=black
face="Courier New"> 

<font size=2 color=black
face="Courier New">Volatday = (<span
lang=EN-AU >H<font
size=2 color=black face="Courier New">-<font size=2 color=red
face="Courier New">L<span
lang=EN-AU >)/( (<font
size=2 color=red face="Courier New">H<font size=2 color=black
face="Courier New">+<span
lang=EN-AU >L<font
size=2 color=black face="Courier New">)/<font size=2
color=fuchsia face="Courier New">2<font size=2
color=black face="Courier New"> );

<font size=2 color=black
face="Courier New">Voldollday = (<font size=2 color=red
face="Courier New">H<span
lang=EN-AU >+<font
size=2 color=red face="Courier New">L<font size=2 color=black
face="Courier New">)/<span
lang=EN-AU >2<font
size=2 color=black face="Courier New"> * <font size=2 color=red
face="Courier New">V<span
lang=EN-AU >;

<font size=2 color=black
face="Courier New">Volindday = Voldollday * Volatday;

<font size=2 color=black
face="Courier New"> 

<font size=2 color=red
face="Courier New">GraphXSpace<span
lang=EN-AU > = <font
size=2 color=fuchsia face="Courier New">1<font size=2
color=black face="Courier New">;

<font size=2 color=black
face="Courier New"> 

<font size=2 color=blue
face="Courier New">Plot<span
lang=EN-AU >(<font
size=2 color=blue face="Courier New">EMA<font size=2
color=black face="Courier New">(Volindday/volind,period1),<font
size=2 color="#cc4466" face="Courier New">"Ratio Daily to Period
Volatility "<span
lang=EN-AU >,<font
size=2 color=red face="Courier New">colorRed<font size=2
color=black face="Courier New">,<font size=2 color=red
face="Courier New">styleLine<span
lang=EN-AU >);

<font size=2 color=blue
face="Courier New">Plot<span
lang=EN-AU >(<font
size=2 color=blue face="Courier New">EMA<font size=2
color=black face="Courier New">(Volindday/volind,period2),<font
size=2 color="#cc4466" face="Courier New">" Trigger "<font
size=2 color=black face="Courier New">,<font size=2 color=red
face="Courier New">colorBlue<span
lang=EN-AU >,<font
size=2 color=red face="Courier New">styleLine<font size=2
color=black face="Courier New">);

<span lang=EN-AU
>Plot<font
size=2 color=black face="Courier New">(<font size=2
color=fuchsia face="Courier New">0.1<font size=2
color=black face="Courier New">,<font size=2
color="#cc4466" face="Courier New">""<font
size=2 color=black face="Courier New">,<font size=2 color=red
face="Courier New">colorWhite<span
lang=EN-AU >,<font
size=2 color=red face="Courier New">styleLine<font size=2
color=black face="Courier New">+<font size=2 color=red
face="Courier New">styleNoLabel<span
lang=EN-AU >);

 

<font size=3 color=teal
face="Times New Roman">Cheers,
Graham

<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/ASXShareTrading

<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/FMSAustralia

<span lang=EN-AU
> 










Yahoo! Groups Sponsor












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 the Yahoo! Terms of Service.