Firing order through Excel-zerodha

monkeybusiness

Well-Known Member
#11
Dear friend monkeybusiness,
i am also trying different ways to automate nest to ami
I m currently working with autohotkey and autoit softwares
here is a very simple code
just save it in a txt file with .ahk extension, n when u will run it
it will fire orders in nest if nest is running or else it will show a msg if nest is not running
i use TAB key to fill all the boxes when we press F1 or F2

note --- f4 focuses on marketwatch, f6 gets snap quote, f1 gets buy order box, then press tab 5 times, fill quantity n then press enter :) n buy order will be sent on market price :happy:
all these shortcuts r given in help file of autohotkey software
here is the code for it
Code:
IfWinExist, Welcome
{
WinActivate ; use the window found above

Send {F4}
Send {F6}
Send {F1}
Send 40
Send {Tab 5}
Send {Enter}

;  Send !{F4 2}

}
else
MsgBox, 1, Error, NEST is not running
:happy:
what i m trying to do is, i save this as a .ahk file on my pc, n then with shellexecute in amibroker , point to this file n fire orders :D
still have a lot of work to be done :happy:
Thanks, have tried firing BO/CO orders?
 

Romeo1998

Well-Known Member
#14
no no , dont underestimate urself :)
God has blessed everyone with gifts :) just believe in urself n keep improving, money will follow :)
i m a commerce student , programming seemed like an alien language :D
i learned basic c++ in month of june, from sololearn site n video tutorials on youtube :pompus:
from july i started learning afl n csharp n currently learning winforms n difficult concepts of csharp :D
my main source of help for csharp is stackoverflow forum :D
dont be scared of programming, its similar to maths :D once u know it, its fun :D
 
Last edited:

trump

Well-Known Member
#17
I wish i was younger and could learn all this. There is a saying, you cannot teach an old horse new tricks. All the best and Kudos to you both.
Age is not a determinant to learn new things, Sr, Bachhan recently started learning to play piano, but yeah it may take little longer, but then mkt is here to stay.There are many resources online to learn, its actually fun, logic/algo/flow chart is difficult, but not the syntax i guess.Trader's edge is his logic and understanding of the market.hope my comment is not out of place, not offending and not thread hijacking, if yes, my apologies.
 

Romeo1998

Well-Known Member
#19
Dear friend aragg1972in1,
for learning AFL
1) i refer to the help file of amibroker or online help guide of amibroker
2) I refer to Amibroker knowledge base
http://www.amibroker.com/kb/
n sometimes amibroker users' knowledge base too
http://www.amibroker.org/userkb/
2) i used to watch videos on youtube (just search in youtube learn AFL amibroker )
3) i joined these 3 forums
a) http://www.traderji.com/community/forums/amibroker.87/
b) https://tradingqna.com/c/algos-strategies-code
c) http://forum.amibroker.com/c/afl
i daily read questions asked by members n solutions given by experts :happy:
(sometimes i also try to answer if i know the solution :D )
in the last forum Tomasz Sir (creator of Amibroker) gives answers , his answers r always perfect n accurate :happy:
This is how currently i m learning abt AFL :happy:
:happy: best of luck to u :happy:
 

Similar threads