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

Re: [amibroker] Tick Charts



PureBytes Links

Trading Reference Links

/* Create date: 02 Aug 2004
The Stochastic %K(Slow) crosses below the Stochastic %D(Slow) on the 
current bar AND The Stochastic %K(Slow) of the current bar is greater 
than 80 AND The Close Price of the current bar is greater than 1.0 
AND  AND The Simple MA (Medium) of the current bar is less than (the 
Simple MA (Medium) of 30 bars ago - 2 ATR(100)) AND ATR(30) 
Volatility 2-8 inclusive  */

Filter = Cross( StochD( 10, 3, 3 ), StochK( 10, 3 ) )
AND StochK( 10, 3 ) > 80
AND Close > 1.0 
AND MA( Close, 100 ) < (Ref( MA( Close, 100 ), -50 ) - 2 * ATR(100)) 
AND MA(Close,21) * MA(Volume,21) > 500000 
AND MA(Close,21) * MA(Volume,21) < 10000000
AND (ATR(10) / Close) *100 >= 2 
AND (ATR(10)/ Close) * 100 <= 8 ;
AddColumn( Close, "Close  " );
AddColumn(ATR(10),"ATR");
AddColumn((atr(10)/Close)*100;
PlotShapes(shapeUpArrow,colorRed,1.2);

I need some help with the above please.  Using Explore how do I;
   
  1) add a column to give a value for  (ATR(10)/Close) * 100;      
I've tried Addcolumn((atr(10)/close)*100), "atr(30)%, 1.3);       no 
good.

  2) add a column for turnover. In the formula I use ma(close,21) * ma
(volume,21) >= 500000;  also is their a single word for turnover to 
use eg turnover >= $500000.

   3) how do I to indicate on the chart every point where the above 
formula has been met. Plotshapes as above doesn't seem to do 
anything. I have also right clicked on a line in the results column  
and ticked  "show arrows" but no good.

  4) occasionally when inputting something in plotshapes (eg 
colorpurple) I get a syntax error saying it requires initialization.  
What does this mean?  

Thanks in advance Phill.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> 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/