[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EquisMetaStock Group] Re: Creating an expert advisor



PureBytes Links

Trading Reference Links

Hi
You migth want use cross   cross(mov(c,50,s). Or if you want the 
close above mov 50 and the open under mov 50, use c > Mov(c,50,s) and 
O < Mov(c,50,s), this way the body are crossed by the mov ave.
Hope this help.

--- In equismetastock@xxxxxxxxxxxxxxx, ashish gupta <loveashu_1@xxx> 
wrote:
>
> 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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/