Wealth-Lab to Amibroker conversion

Quote from asenft:
Since Wealth-Lab is killing themselves in the foot with this Fidelity thing, I'm trying to convert the following Wealth Lab-4 Chartscript to Amibroker. Any help? I would pay...
Have you asked at the AB Yahoo Groups? Someone over there will be able to port it for you.

However, if you've learned WL coding, you can easily learn AB. I didn't click the link so I assume the code you want to port was canned code obtained from the WL scripts that were publicly available.

Sorry to hear that things have gone downhill for you after Fidelity acquired your platform.
 
Not sure if it's correct but it should get you started.
//True Range Band
OptVar1 = Optimize("OptVar1",120,100,170,10);
OptVar2 = Optimize("OptVar2",30,18,38,4);
bandwidth = OptVar1 / 100.0; // bandwidth of Band
profit_target = 1.0;
Days = 2;

ema_center = 6; // period for center line EMA
ema_range = OptVar2;
center_line = EMA(C, ema_center);
range_s = EMA(ATR(1), ema_range);
dist = (range_s/center_line) * bandwidth;
limitPriceL = center_line * (1 - dist);
limitPriceH = center_line * (1 + dist);

Plot(C,"",1,64);
Plot(center_line,"Center",1,1);
Plot(limitPriceL,"limitPriceL",3,1);
Plot(limitPriceH,"limitPriceH",4,1);


Send the check to:
:D

nt
 
Back
Top