PureBytes Links
Trading Reference Links
|
Hi all,
I want to create an expert advisor/indicator in metastock.
Buy Signal
Buy when a full bar is made above the 50 day Moving average (i.e. low of the bar should be above the 50 DMA) and high of that bar is breached.
Sell Signal
Buy when a full bar is made below the 50 day Moving average (i.e. high of the bar should be below 50 DMA) and low of that bar is breached.
I know how to write equation for the bar above/below 50 DMA
For Buy - Low > Mov(C,50,S)
For Sell - High < Mov(C,50,S)
but i dont know what and how to add the breach condition in the above formula.
Please advise me how to do create this expert advisor.
Thanx
Regards,
Ashish Gupta
Ashish Gupta
9810046324
---------------------------------
All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|