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

RE: [AmiBroker] Re: FW: Ratio Adjusted Databases Question



PureBytes Links

Trading Reference Links





Have a try,
Sjaak
HaClose = (O+H+L+C)/<FONT color=#ff00ff 
size=1>4; 
HaOpen = AMA( 
Ref( HaClose, 
-1 ), <FONT 
color=#ff00ff size=1>0.5 ); 
HaHigh = Max( H, 
Max( HaClose, HaOpen ) ); 

HaLow = Min( L, 
Min( HaClose, HaOpen ) ); 


Plot( MA<FONT 
size=1>( Close, 5 
), "MAC", colorBlue 
);
Plot( MA<FONT 
size=1>( Close, 13 
), "MAC", colorRed 
);
PlotOHLC( HaOpen, HaHigh, HaLow, HaClose, <FONT 
color=#ff00ff size=1>"Heikin Ashi Modified " + <FONT 
color=#0000ff size=1>Name(), colorBlack, 
styleCandle);
Buy=HaClose > HaOpen;// AND Ref 
(HaClose > HaOpen ,-1);
Sell = HaClose < HaOpen;// AND Ref 
(HaClose < HaOpen ,-1);
Filter=Buy OR Sell;
Buy=ExRem<FONT 
size=1>(Buy,Sell); 
Sell=ExRem<FONT 
size=1>(Sell,Buy);
PlotShapes( shapeUpArrow * Buy, 
colorGreen );
PlotShapes( shapeDownArrow* Sell, 
colorRed );
AddColumn(Buy,<FONT color=#ff00ff 
size=1>"Buy");
AddColumn(Sell,<FONT color=#ff00ff 
size=1>"sell");<LABEL 
id=HbSession SessionId="3793481957">
 
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  tom_katch 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Friday, April 30, 2004 6:59 
PM
  Subject: [amibroker] HEIKEN-ASHI
  Can someone take the Heiken-Ashi formula, posted in the AFL 
  Libraryand write it into a system?The system would take the 
  criteria which causes the bars to switch from red to blue or blue to red, 
  and use those points as buy or sell points.And if possible (not 
  100% necessary) would generate arrows on the price 
  chart.ThanksTomSend BUG REPORTS to 
  bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  
  
  Deze e-mail is door E-mail VirusScanner van Planet Internet gecontroleerd op 
  virussen. Op <A 
  href='"http://www.planet.nl/evs";'>http://www.planet.nl/evs staat een 
  verwijzing naar de actuele lijst waar op wordt gecontroleerd. 




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








Yahoo! Groups Sponsor


  ADVERTISEMENT 












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