Discussions
»
Product and Service Development
»
MetaStock
»
Control metastock using another application
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 4/15/2011(UTC) Posts: 10
|
how can i control metastock from another application like visual basic
for example changing periodicity or pressing refresh data from visual basic
can i do this using blug in and add on if so
what tool i need i alredy have mdk
thank you
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 5/13/2005(UTC) Posts: 715 Location: Midwest, USA
Was thanked: 1 time(s) in 1 post(s)
|
Any scripting tool should work; I've used AutoIt.
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 4/15/2011(UTC) Posts: 10
|
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 4/15/2011(UTC) Posts: 10
|
I installed Autoit read the help and practice the tutorial search the internt for script that control metastock i found nothing except the following script
AutoItSetOption("WinTitleMatchMode", 1)
WinWaitActive("MetaStock Professional")
For $i = 10 to 1 Step -1
sleep(10000)
Send("!fgN")
Next
this script open every security one by one
what is fgn
do you have please script that change periodicity
any help
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 5/13/2005(UTC) Posts: 715 Location: Midwest, USA
Was thanked: 1 time(s) in 1 post(s)
|
ABDULLAH7044 wrote:do you have please script that change periodicity Sorry, I don't have anything handy. You will have to write a script that clicks FORMAT, X-Axis, then PERIODICITY, then the option you want.
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 4/15/2011(UTC) Posts: 10
|
I used this function but i dont know how to set the options interval , periods
WinMenuSelectItem("[CLASS:MetaStockMainWnd]", "", "&Format", "&X-Axis...","&Periodicity","&Custom","&Interval:Minute","&Periods:1" )
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 5/13/2005(UTC) Posts: 715 Location: Midwest, USA
Was thanked: 1 time(s) in 1 post(s)
|
Sorry, it's been awhile; don't recall all the details. You'll have to read the manual.
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
MetaStock
»
Control metastock using another application
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.