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

[amibroker] AB Keyboard input problems



PureBytes Links

Trading Reference Links

Herman,

Here is another way to run the 3D chart from the AA
BUT this is probably NOT going to achieve what you are after because
it will simply open ANOTHER instance of the chart, it wont refresh the
currently open chart:

WshShell = CreateObject("WScript.Shell");
WshShell.Run("cmd /C /Q CD C:\Program Files\AmiBroker");
WshShell.Run("O3G.exe");

HvdB> I am halfway there, the only thing left now is to pass the Optimize.csv
HvdB> argument to the O3G.exe in the Alert function, anybody knows how to do that?

I'm not sure if the O3G.exe application locks the file while in use
but you could try try to update or replace the Optimize.csv file
located in the AmiBroker directory.

Does the O3G.exe application take a parameter?


Regards,
William Peters
www.amitools.com


Monday, September 6, 2004, 2:02:44 PM, you wrote:

HvdB> OK, I found out what was wrong: the alert had to be enabled from the AA in
HvdB> Preferences (not mentioned in the function reference), and enable repeat
HvdB> alerts this code will do it:

HvdB> AlertIf(True, "EXEC C:\\Program
HvdB> Files\\AmiBroker\\O3G.exe","",0,0);

HvdB> I am halfway there, the only thing left now is to pass the Optimize.csv
HvdB> argument to the O3G.exe in the Alert function, anybody knows how to do that?

HvdB> thanks for your help!

HvdB> herman

HvdB>   -----Original Message-----
HvdB>   From: Herman van den Bergen [mailto:psytek@xxxxxxxx]
HvdB>   Sent: Monday, September 06, 2004 1:38 PM
HvdB>   To: amibroker@xxxxxxxxxxxxxxx
HvdB>   Subject: RE: [amibroker] 3D charts from the AA and Indicators


HvdB>   Thanks William, it is me who should be sorry :-) i copied the wrong line
HvdB>   from my Tools->Customize Command line.

HvdB>   Your line of code is the correct one but it doesn't work, did you try it?
HvdB> It
HvdB>   does works from my Tools menu with "Optimize.csv" in the argument box. So
HvdB>   everything works fine that way. However even without the argument the
HvdB>   O3G.exe doesn't want to launch through the Alert function. Also, I don't
HvdB>   know how to pass an arument in the Alert function.

HvdB>   What i am after is an automatic 3D chart refresh after each explore or
HvdB>   Backtest, so that i can leave the 3D chart displayed on another monitor
HvdB>   while I develop code and do research. Perhaps an afl function like
HvdB>   Refresh3DChart() would be nice :-)

HvdB>   An suggestions on how to get this to work?
HvdB>   herman
HvdB>     -----Original Message-----
HvdB>     From: William Peters [mailto:williampeters@xxxxxxxxxxx]
HvdB>     Sent: Monday, September 06, 2004 11:34 AM
HvdB>     To: Herman van den Bergen
HvdB>     Subject: Re: [amibroker] 3D charts from the AA and Indicators


HvdB>     Hello Herman,

HvdB>     I'm sorry Herman but I'm really lost trying to understand what it is
HvdB>     you are actually wanting to achieve.

HvdB>     If you trying to get the alertif function to execute the 3D Optimization
HvdB>     chart then here is the code:

HvdB>     AlertIf(True, "EXEC C:\\Program
HvdB> Files\\AmiBroker\\O3G.exe","");

HvdB>     But if its something else your after, something to do with AmiQuote
HvdB>     please let me know.

HvdB>     Regards,
HvdB>     William Peters
HvdB>     www.amitools.com


HvdB>     Monday, September 6, 2004, 10:17:43 AM, you wrote:

HvdB>     HvdB> Thanks Ed, but that doesn't work, actually I had double slashes
HvdB>   before but
HvdB>     HvdB> forgot to put them back into this template.

HvdB>     HvdB> I think it would be great if we could launch and refresh the 3D
HvdB>   chart during
HvdB>     HvdB> afl code execution... it would open the door to lots of nice
HvdB>   applications.

HvdB>     HvdB> Thanks for the try!

HvdB>     HvdB> herman




HvdB>     Check AmiBroker web page at:
HvdB>     http://www.amibroker.com/

HvdB>     Check group FAQ at:
HvdB>   http://groups.yahoo.com/group/amibroker/files/groupfaq.html


HvdB>           Yahoo! Groups Sponsor

HvdB>           Get unlimited calls to

HvdB>           U.S./Canada




HvdB>  
HvdB> --------------------------------------------------------------------------
HvdB> --
HvdB>   --
HvdB>     Yahoo! Groups Links

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

HvdB>       b.. To unsubscribe from this group, send an email to:
HvdB>       amibroker-unsubscribe@xxxxxxxxxxxxxxx

HvdB>       c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
HvdB> Service.



HvdB>   [Non-text portions of this message have been removed]



HvdB>   Check AmiBroker web page at:
HvdB>   http://www.amibroker.com/

HvdB>   Check group FAQ at:
HvdB> http://groups.yahoo.com/group/amibroker/files/groupfaq.html


HvdB>         Yahoo! Groups Sponsor
HvdB>               ADVERTISEMENT





HvdB> ----------------------------------------------------------------------------
HvdB> --
HvdB>   Yahoo! Groups Links

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

HvdB>     b.. To unsubscribe from this group, send an email to:
HvdB>     amibroker-unsubscribe@xxxxxxxxxxxxxxx

HvdB>     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



HvdB> [Non-text portions of this message have been removed]




HvdB> Check AmiBroker web page at:
HvdB> http://www.amibroker.com/

HvdB> Check group FAQ at:
HvdB> http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
HvdB> Yahoo! Groups Links



 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

<*> 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/