AmiBroker 7.00.0 BETA released

Of course this year, and actually this month.

5 Likes

I have a remark about the AFL editor => the prettify function that I use a lot.

for instance when I have code like this in the editor and I do "Select All" and then do "Prettify Selection" then the result is the same (what I expected)

// back test for futures
SetTradeDelays( 0, 0, 0, 0 );
SetOption( "FuturesMode", True );
SetOption( "PriceBoundChecking", False );
SetOption( "AllowSameBarExit", True );
SetOption( "CommissionMode", 3 );
SetOption( "CommissionAmount", 4 );
SetPositionSize( 1, spsShares );

then when I have this code:

if( Interval() <= inHourly )
{
    ft = "Arial Black";
    sz = 10;
    str = "Max Loss: \n";
    PlotTextSetFont( str, ft, sz, BarCount - 40, 10, colorGold, colorDefault, 0 );
}

"trailarrayup: " + trailarrayup;

// back test for futures
SetTradeDelays( 0, 0, 0, 0 );
SetOption( "FuturesMode", True );
SetOption( "PriceBoundChecking", False );
SetOption( "AllowSameBarExit", True );
SetOption( "CommissionMode", 3 );
SetOption( "CommissionAmount", 4 );
SetPositionSize( 1, spsShares );

and I do "Select All" and then "Prettify Selection" I end up with this:


if( Interval() <= inHourly )
{
    ft = "Arial Black";
    sz = 10;
    str = "Max Loss: \n";
    PlotTextSetFont( str, ft, sz, BarCount - 40, 10, colorGold, colorDefault, 0 );
}

"trailarrayup: " + trailarrayup;

// back test for futures
SetTradeDelays( 0, 0, 0, 0 );

SetOption( "FuturesMode", True );

SetOption( "PriceBoundChecking", False );

SetOption( "AllowSameBarExit", True );

SetOption( "CommissionMode", 3 );

SetOption( "CommissionAmount", 4 );

SetPositionSize( 1, spsShares );

I end up with spaces between certain lines. Possibly there are other situations in which this also occurs. Maybe this has been already addressed, could not find it

1 Like

Newbie question: can I install the 7.0 while keeping an earlier version installed at the same time? And switch between them if I run into issues?

Tomasz: many thanks for your dedication to the excellent platform.

Yes you can install many versions.

2 Likes

Tomasz, is 7.00.x gonna be a Christmas gift? :wink:

Yes, it is basically ready but I am doing big overhaul of the documentation. Fixing all the grammar, spelling, style for over 1000+ pages is way more time consuming than originally planned.

9 Likes

Non-stop perfectionism. Thanks for all your effort.

Hello Tomasz, I have a suggestion. There could be an option to lock any particular chart so that even if we jump from one layout to another it remains open and then we can save that layout with that particular chart. It will help to manage charts without opening fresh chart in another layout. Love from India.

Hi Tomasz, I“ve just tried 7.00.1 but i still Get the 1991 Error Code on StrToDateTime when AFL read CSV Files, so i can“t use it yet. On Previous Versions to 7 this worked fine. Any Help will be welcome. thanks!

Listen the error message is correct. I am not going to change correct operation.
You have to correct your formula and/or inputs.

The input to the function must be correct. The only incorrect string that it accepts is empty string. Then it will return Null. But it won't accept any other incorrect string.

Here it how it works (and it is CORRECT):

StrToDateTime(""); // accepted - empty string produces Null {EMPTY}
StrToDateTime("2025-04-01"); // accepted - valid date 
StrToDateTime("999-9-9"); // rejected - invalid date string produces error

IMPORTANT:

You have to use version 7.00.1 OFFICIAL, not 7.00.0 BETA.

2 Likes

This BETA is NO LONGER SUPPORTED. Use OFFICIAL VERSION 7.00.1