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

[EquisMetaStock Group] Formula



PureBytes Links

Trading Reference Links

Hi guys, I need some help from someone who knows how to convert simple
formulas from Metastock Formula Language to AFL. : Formula looks like
that in MFL:



Enter Long :

MACDhistogram:=MACD()-Mov(MACD(),9,E);
Ref(MACDhistogram,-1)>0 AND Ref(Stoch(5,3),-1)<80

Enter Short :

MACDhistogram:=MACD()-Mov(MACD(),9,E);
Ref(MACDhistogram,-1)<0 AND Ref(Stoch(5,3),-1)>20

Options:

Testing -> "Trade Price" -> "Entry Price" & "Exit Price" = "Open"
"Delay" -> 0
"Positions" = "Both"
"Commissions" -> "Points $" -> "Entry" = 0 , "Exit" = 4
"Equity" -> "Points Only Test"


//and here are some comments for expertadvisor I guees wchich i would
like to convert to Guru Commentary ( if it is possible)

//Bullish
MACDhistogram:=MACD()-Mov(MACD(),9,E);
MACDhistogram>0
//bearish
MACDhistogram:=MACD()-Mov(MACD(),9,E);
MACDhistogram<0


Thank you a lot for you help in advance
Best regards Pat



 
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/