Discussions
»
Product and Service Development
»
Formula Assistance
»
Detection of a date based on an event and analysis after that date
Rank: Newbie
Groups: Registered Users, Subscribers Joined: 3/26/2015(UTC) Posts: 7
Thanks: 5 times
|
Could you kindly give me a reference for a programming issue.
I would like Metastock to detect events and do research based on that.
1) detection of a maximum period and detection of the date.
2) candle analysis after that peak How can I make the system use the date (which it has detected) of the period maximum of point 1 which corresponds to the start of the candle analysis to date.? Then find a date for an event and tell Metastock to analyze the candles after that date.
Thanks to those who want to help me!
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 11/13/2020(UTC) Posts: 10
Was thanked: 3 time(s) in 3 post(s)
|
I'm not aware of a way to use the date itself. But if, say, the event that triggers your analysis is the cross of x and y there's the function BarsSince(cross(x,y)) which returns the number of bars that have passed since x crossed y. Now this may or may not be useful depending on what you want to do. If for example you would like to use the number of days as input to a moving average function, it is impossible because Metastock wants that to be a constant. I'm not sure if you could do it with a .dll.
|
1 user thanked Crossover521 for this useful post.
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
Formula Assistance
»
Detection of a date based on an event and analysis after that date
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.