Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

mokka

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by mokka


  1. I tried to follow ant's way and wanted to do some stats regarding Initial Balance and other stuff. However I got stuck with my EasyLanguage skills. This is what I thought could be a start.

     

    var: counter(0), howOften(0);

     

    if TimeOfHigh <= 1030

    then counter= counter+1;

    howOften= (counter/barNumber)*100;

    Plot1(howOften,"madeHigh");

     

    For the TimeOfHigh I used:

     

    Variables:

    TimeOfHigh (0),

    TimeOfLow (0),

    HiHi (0) ,

    LoLo (99999);

     

    if date <> date[1] then

    begin

    HiHi = 0;

    LoLo = 99999;

    end;

     

    if high > HiHi then

    begin

    TimeOfHigh = time;

    HiHi = high;

    end;

    if low < LoLo then

    begin

    TimeOfLow = time;

    LoLo = low;

    end;

     

    Maybe the TimeOfHigh is what causes headache. HighD(0) does of course not work in this context. Can anyone point me in the right direction? I appreciate any help.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.