To put data via DDE in excel, all you need is to enter the following formula into the excel cell:
=A|B!C
where
A is a service name
B is a topic
and
C is a value.
Is there a way to get values from marketscope charts?
At least it would be nice to get Open price.
topic.bid = dde_server:addValue(topic.id, "Bid");
topic.ask = dde_server:addValue(topic.id, "Ask");
topic.high = dde_server:addValue(topic.id, "High");
topic.low = dde_server:addValue(topic.id, "Low");
topic.pipcost = dde_server:addValue(topic.id, "PipCost");
topic.time = dde_server:addValue(topic.id, "Time");
-- topic.mmr = dde_server:addValue(topic.id, "MMR");
I've noticed that in dde_offers_adv.lua, the line that refers to "MMR" is commented. So it's not returning that value.
Question: Is ddeserver_lua.dll the same file or is it an updated version?
I ask this because dde_offers.lua returnes fewer values. (BID, ASK, TIME, DIGITS)
And dde_offers_adv.lua has more values.
If I add a line:
topic.time = dde_server:addValue(topic.id, "Open");
will it work?
I removed the -- coment in
-- topic.mmr = dde_server:addValue(topic.id, "MMR");
and it didn't work.
So are there other topics and values available, or we can only access the ones in dde_offers_adv.lua and in dde_accounts.lua?