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

[EquisMetaStock Group] Golden Triple Moving Average



PureBytes Links

Trading Reference Links



Dear Jose,

The indicator you developed works perfectly.
I do thank you so much.

Well, would you be so kind as to adapt to the values of the Golden 
Triple Moving Average (GTMA) , which I send as follows:

periods1:=Input("Moving average periods: ",1,1000,9);
periods2:=Input("Moving average periods: ",1,1000,15);
periods3:=Input("Moving average periods: ",1,1000,24);

periodsLarge1:=LastValue(Rnd(periods1/1.6180339887));
periodsSmall1:=LastValue(Rnd(periods1-periodsLarge1));
PhineMA1:=(Mov(C,periodsLarge1,S)+ValueWhen(1,periodsLarge1+1,Mov
(C,periodsSmall1,S)))/2;

periodsLarge2:=LastValue(Rnd(periods2/1.6180339887));
periodsSmall2:=LastValue(Rnd(periods2-periodsLarge2));
PhineMA2:=(Mov(C,periodsLarge2,S)+ValueWhen(1,periodsLarge2+1,Mov
(C,periodsSmall2,S)))/2;

periodsLarge3:=LastValue(Rnd(periods3/1.6180339887));
periodsSmall3:=LastValue(Rnd(periods3-periodsLarge3));
PhineMA3:=(Mov(C,periodsLarge3,S)+ValueWhen(1,periodsLarge3+1,Mov
(C,periodsSmall3,S)))/2;

PhineMA1;
PhineMA2;
PhineMA3;

Once again, Thank You.
LePrincePlus


***************

AC, try this indicator/exploration code:

---8<----------------------

{ http://www.metastocktools.com }

{ Short/Medium/Long period variables }
PdsShort:=9;
PdsMedium:=15;
PdsLong:=24;

{ Short/Medium/Long SMAs }
ShortSMA:=Mov(C,PdsShort,S);
MediumSMA:=Mov(C,PdsMedium,S);
LongSMA:=Mov(C,PdsLong,S);

{ * Entry Long signals: }
EntryLong:=
 ShortSMA > MediumSMA AND
 ShortSMA > LongSMA AND
 MediumSMA < LongSMA;

{ Signal }
EntryLong










------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
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/