PureBytes Links
Trading Reference Links
|
Ernie,
Yes, Wealth-Lab Developer 2 supports user written functions.
The coding is very simple, similar to Easy Language (because both are Pascal
based) but more powerful. Here an Active Trader system code from November
2000 issue.
var Bar: integer;
for Bar := 51 to BarCount() - 1 do
begin
if LastPositionActive() then
if PriceClose( Bar ) > PositionEntryPrice( LastPosition() ) then
begin
SellAtMarket( Bar + 1, LastPosition(), '' );
end
else
begin
SellAtStop( Bar + 1, Lowest( Bar, #Low, 2 ), LastPosition( ), '' );
end
else
begin
if PriceClose( Bar -1) < PriceClose(Bar - 2) then
if PriceClose(Bar - 2) < PriceClose(Bar - 3) then
if PriceHigh( Bar ) > PriceHigh( Bar - 1) then
if PriceClose(Bar) > EMA(Bar, #Close, 50 ) then
BuyAtMarket( Bar + 1, '' );
end;
end;
Hope it gives you an idea on the coding language. You find the code and the
description also here:
http://www.wealth-lab.com/cgi-bin/WealthLab.DLL/editsystem?id=2621
Volker Knapp
Wealth-Lab Inc.
http://www.wealth-lab.com
http://www.wealth-lab.de
++-----Ursprungliche Nachricht-----
++Von: Ernie Bonugli [mailto:ebonugli@xxxxxxxx]
++Gesendet: Dienstag, 18. Juni 2002 18:38
++An: omega-list@xxxxxxxxxx
++Betreff: Wealth Lab 2,Impressive
++
++
++list,
++
++Has anyone transitioned over to WL? Or is anyone seriously
++considering it? Their last release(s) looks impressive on
++the surface.
++
++One remaining issue on my list, is that the # of lines
++required to code an idea looks bulky to me. I really
++haven't studied the product, but do they support user written
++functions?
++
++
++
++
++Regards,
++Ernie
++ebonugli@xxxxxxxx
++
|