Wealth-Lab to Amibroker conversion

Discussion in 'Trading Software' started by asenft, Jan 11, 2009.

  1. asenft


  2. I'd take the job if I knew how I could bill you. :)

    It looks simple though. You should be able to do it on your own.
  3. 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.
  4. ntfs


    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);


    Send the check to: