[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Execute and Move



PureBytes Links

Trading Reference Links

Hello,

1. Execute can be implemented via unconditional AlertIf

function Execute( path ) 
{ 
AlertIf( 1, "EXEC " + path, "", 0, 0, 1 ); 
} 


Execute("calc.exe");  // run Windows calculator


(be careful with the above uncoditional formula - each execution of above will run the calculator, so in real -time mode
you will end up with hundreds of calculators open )


2. File move can be done using JScript FileSystemObject.
but I can add native AFL function.


3.

Sell = TimeNum() == 160000; // exit longs at 4:00pm

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "deniskolodin" <deniskolodin@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, February 21, 2009 7:49 AM
Subject: [amibroker] Execute and Move


> Hello )
> AmiBroker is my favorite tool, but
> I've not found functions for:
> 1) Execute application (AlertIf can only)
> 2) Move file
> I can do that things with my own plugin written in C.
> Are there similar AFL functions?
> 
> How can I backtest intraday strategy when all positions closes at end
> of trading session?
> 
> 
> Denis Kolodin
> 
> 
> 
> 
> ------------------------------------
> 
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
> 
> TO GET TECHNICAL SUPPORT send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> Yahoo! Groups Links
> 
> 
> 


------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/