logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
alikwok  
#1 Posted : Monday, December 28, 2015 9:35:51 AM(UTC)
alikwok

Rank: Newbie

Groups: Registered Users, Subscribers, Unverified Users
Joined: 12/28/2015(UTC)
Posts: 1

Thanks: 1 times
Hi Buddies, please bear with me as I am new to use MS and appreciate if you guys would provide help in this case.  In short, I want to write a formula to find out which candlestick with larger range of open till close than yesterday bar.  Its mainly to compare the open till close range for today and yesterday bar only, is it easy to make it done?  Meanwhile, is there any similar function from MS to send out mail alert if the candlestick fulfill the predefined conditions?  thanks again all!
MS Support  
#2 Posted : Monday, December 28, 2015 5:09:08 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,960

Thanks: 92 times
Was thanked: 155 time(s) in 150 post(s)
Hello, You would essentially take the absolute value of the difference between the Open and Close and compare to yesterday of the same. Abs(O-C) > Ref(Abs(O-C),-1) Email Alerting is possible in the Realtime version via the Expert Advisor. The ability to email has also existed in End-of-Day since version 12 (primarily due to sharing the same codebase as the Realtime version) but is not really useful since the data has to be manually refreshed in the chart in order to trigger an Expert alert. I would have to know which version and type of MetaStock you are using to give a more detailed answer on email alerts.
thanks 1 user thanked MS Support for this useful post.
alikwok on 12/29/2015(UTC)
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.