Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 9/27/2013(UTC) Posts: 15
Thanks: 1 times
|
Hi,
I am using meta stock, it uses e Signal. The data comes to down loader on a 5 minutes basis. Assume the down loader has value as 5900, I need my down loader to be added with 5 points or subtract 5 points, it should be 5905 or 5895.
I will have the added values in a separate symbol and subtracted value in separate symbol. Hence I will have 3 live charts. They are actual value, added value and subtracted value. How can I do this ?
Let me know if i am not clear. I am not an expert in programming, your help will be very useful.
thanks mymetaforum
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 9/27/2013(UTC) Posts: 15
Thanks: 1 times
|
Hi forum members,
can some body pls help in programming this piece of metastock ? This is very important for me.......
thanks mymetaforum
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 9/13/2004(UTC) Posts: 673 Location: Salt Lake City, UT
|
You can use the Security function to reference price data either from a local source (on your hard drive) or from the Data On Demand (Online) source:
Security("Online:$SPX",C) - 5
or
Security("C:\MetaStock Data\Indexes\$SPX",C) - 5
The C is for Close price, but you could reference other data arrays High, Low, Open, Volume, then we just subtract 5 from the Close value. Could do the same thing with addition to add 5 points.
Security("Online:$SPX",C) + 5
or
Security("C:\MetaStock Data\Indexes\$SPX",C) + 5
Keep in mind that a Security function call is done through the Indicator Builder. It is not designed to be a Base Security chart but to be plotted in another chart.
The only way to really make a base security chart would be to make a Copy of the security in the Downloader (Tools-->Copy) and then use the Tools-->Adjust-->Data command to add or subtract a value from any of the data arrays.
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
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.