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

Re: [EquisMetaStock Group] Re: Creating an expert advisor



PureBytes Links

Trading Reference Links

Hi Ashish,

You can try this formula:

{Setup}
Buysetup := Low > Mov(C,50,S);
Sellsetup := High < Mov(C,50,S);

{Signal}

Buysignal := Alert(Buysetup=0, 3) AND Alert(C> Ref(H, -1), 2);
Sellsignal := Alert(Sellsetup=0, 3) AND Alert(C< Ref(L, -1), 2);


Buysignal; Sellsignal



Thanks and Regards,
Amit Trivedi
President & CEO
Athenasolutionz.com - "We sell hope, in the stock market."

  ----- Original Message ----- 
  From: aserr_98 
  To: equismetastock@xxxxxxxxxxxxxxx 
  Sent: Sunday, September 17, 2006 12:24 AM
  Subject: [EquisMetaStock Group] Re: Creating an expert advisor


  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]
  >



   

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