PureBytes Links
Trading Reference Links
|
Gernot, with 11 PREV functions in that MS code (is it a new record?),
you are going to need a mainframe computer to calculate values. :)
jose '-)
--- In equismetastock@xxxxxxxxxxxxxxx, "TaoTrader" <taotrader@xxxx>
wrote:
> Thanks, Dusant, for your reply. Unfortunately, external functions
won't help me. In my broker's forex 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 program Renko 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, it looks like it's generating a line
chart based on Renko data instead of the chart itself. I ran it as is
in my program but it did't work ( no line, just blank). If someone
could run the script im MS and let me know what it works. The code
below includes comments for each line.
>
> Cheers,
> Gernot
>
> K:=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;
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~->
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:
http://docs.yahoo.com/info/terms/
|