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

Re: [EquisMetaStock Group] Need help with formula



PureBytes Links

Trading Reference Links




Roy,
 
I was able to display the line, had to reduce the 
brick size to below 1 since I deal with currencies.  However the script 
displays a line.  Is there a way to actually display the individual 
bricks?
 
Gernot
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Roy 
  Larsen 
  To: <A 
  title=equismetastock@xxxxxxxxxxxxxxx 
  href="">equismetastock@xxxxxxxxxxxxxxx 
  
  Sent: Tuesday, June 29, 2004 4:02 
PM
  Subject: Re: [EquisMetaStock Group] Need 
  help with formula
  GernotChange the brick size (K) to something 
  appropriate. The default setting of 150 is way too big for 
  mycharts.Roy----- Original Message ----- From: 
  "TaoTrader" <<A 
  href="">taotrader@xxxxxxxxxxx>To: 
  <<A 
  href="">equismetastock@xxxxxxxxxxxxxxx>Sent: 
  Wednesday, June 30, 2004 12:57 AMSubject: Re: [EquisMetaStock Group] Need 
  help with formulaThanks, Dusant, for your reply.  
  Unfortunately, external functions won't help me.  In my broker'sforex 
  charting program you can write your own indicator scripts using a subset of 
  the MS commands.However, it isn't possible to call external functions via 
  DLLs.  I thought if I could just programRenko charts with the 
  available MS commands that that would suffice.By the way, I've just 
  come across another script (see below) at a German trading site.  
  However, itlooks like it's generating a line chart based on Renko data 
  instead of the chart itself.  I ran itas is in my program but it 
  did't work ( no line, just blank).  If someone could run the script im 
  MSand let me know what it works.  The code below includes comments 
  for each line.Cheers,GernotK:=150; {brick 
  size}RenkoLine:=if(Cum(1)=1,Close,{Last Renko white 
  (up)?}if(PREV>=0,{Last Renko is 
  white.}{Reversal?}if(C<=PREV-2*K,{Reversal!}-(PREV-floor(Max(PREV-C,0)/K)*K),{New 
  white Renkos?}floor(Max(C-PREV,0)/K)*K+PREV),{Last Renko is 
  black 
  (down).}{Reversal?}if(C>=abs(PREV)+2*K,{Reversal!}-PREV+floor(Max(C-abs(PREV),0)/K)*K,{New 
  black 
  Renkos?}floor(Max(abs(PREV)-C,0)/K)*K+PREV)));RL:=abs(RenkoLine);RL;  
  ----- Original Message -----   From: Dusant  To: 
  equismetastock@xxxxxxxxxxxxxxx  Sent: Tuesday, June 29, 2004 8:06 
  AM  Subject: Re: [EquisMetaStock Group] Need help with 
  formula  TaoTrader,  <A 
  href="">http://195.131.102.216/cgi-bin/ksr?file=msx_ksr_en  
  You need to download the DLL as the codes are written with the support of the 
  external DLL.  You need not write any code yourself, import the 
  formula using their files.  This DLL has a great utility to write 
  values to a text file too.  Dusant  Chief 
  Architect  <A 
  href="">http://www.candlestrength.com/    
  ----- Original Message -----     From: 
  TaoTrader    To: 
  equismetastock@xxxxxxxxxxxxxxx    Sent: Tuesday, June 29, 
  2004 8:00 AM    Subject: Re: [EquisMetaStock Group] Need 
  help with formula    Hi 
  Roy,    Thanks for the response.  Yeah, I realized 
  the script is not in Metastock language.  However,the odd thing is 
  that I found the formula at a web site on external meatstock function.  
  See webattached web site:    <A 
  href="">http://www.ksr.sp.ru/msx/msxen.htm    
  and go down to:    4. Renko-Adaptive indicator 
  "Renko_Adaptive    I understand you're busy and 
  wouldn't ask you to take up your time.  I posted the request in 
  theforum because Metastock has built-in Renko charts.  So, I thought 
  that there must be a way to alsocode them with the MS language.  
  Although I understand that the built-in stuff is not likely to bewritten 
  MS format.    Thanks again for your 
  reply    
  Gernot        Yahoo! Groups 
  Sponsor              
  ADVERTISEMENT------------------------------------------------------------------------------  
  Yahoo! Groups Links    a.. To visit your group on the 
  web, go to:    <A 
  href="">http://groups.yahoo.com/group/equismetastock/    
  b.. To unsubscribe from this group, send an email to:    
  equismetastock-unsubscribe@xxxxxxxxxxxxxxx    c.. Your 
  use of Yahoo! Groups is subject to the Yahoo! Terms of 
  Service.







Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/equismetastock/ 
To unsubscribe from this group, send an email to:equismetastock-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.