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

Re: [EquisMetaStock Group] 5 DMA-Close & 6 DMA-Open Crossover



PureBytes Links

Trading Reference Links

Hi Khalid,

Please take the following code as correct code as Close price was used with 6DMA in previous code. Sorry for posting wrong code. 

cond1:= Sum((C> Mov(C,5,S)) AND (C> Mov(O,6,S)),3)=3;
Cond2:= Alert(Cross(Mov(C,5,S), Mov(O,6,S)),3);

Entry:= cond1 AND cond2;

Exit:= Cross(Mov(O,6,S), Mov(C,5,S));

Entry; Exit





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

  ----- Original Message ----- 
  From: Khalid Masood 
  To: equismetastock@xxxxxxxxxxxxxxx 
  Sent: Monday, September 18, 2006 5:30 AM
  Subject: [EquisMetaStock Group] 5 DMA-Close & 6 DMA-Open Crossover


  Hi,

  I want to code an indicator with following parameters:

  For Entry:

  (1). Today's close is above (5day simple closing moving average & 
  6day simple open moving average) for last three days.

  (2). 5day closing moving average crosses above 6day open moving 
  average.

  For Exit:

  6day open moving average crosses above 5day close moving average.

  I have tried but unsucessfull,please help & thanks in advance.
  Regards
  Khalid



   

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