Metastock: Formel Ps Meisel, Kama , Stoch gesucht

Ich hoffe, ich bin nicht zu aufdringlich. Ich hoffe, ihr könnt mir helfen bei zwei Indikatoren, da ich auf dem Gebiet von Erstellen von Indi's eine Niete bin, daher hoffe ich, daß ich hier auf Verständnis stosse.

1. Wenn der pc meisel (oder pc cci fibonacci auf -200) auf -6 und der adx größer als 20 ist, soll der Indi schreien.

2. Ein indikator soll ein Signal generieren, wenn der kama

(code:{ Kaufman AMA indicator }
PriceSeries:=Input("Prices series - 0:O|1:H|2:L|3:C",0,3,3);
Periods:=Input("Periods",1,32767,10);
FEndF:=Input("Fast end factor",0,1,0.666);
SEndF:=Input("Slow end factor",0,1,0.0645);
Pr:=If(PriceSeries=0,OPEN,If(PriceSeries=1,HIGH,If(PriceSeries=2,LOW,CLOSE)));
Signal:=Abs(Pr-Ref(Pr,-Periods));
Dnoise:=Abs(Pr-Ref(Pr,-1));
Noise:=Sum(Dnoise,Periods);
EffRatio:=If(Noise>0.,Signal/Noise,0.);
FERatio:=FEndF*EffRatio+SEndF*(1-EffRatio);
SmoothF:=Power(FERatio,2);
PKAMA:=Pr*SmoothF+(1-SmoothF)*PREV;
PKAMA;)

(prices series:3
periods:12)

innerhalb von 5 Tagen seinen Wert nicht mehr als um 0,1 ändert(zb.tag1=16,54,tag2=16,54, tag3=16,51,tag4=16,59,tag5=16,50), sobald das zu getroffen ist, und wenn der stochastic oszi ((%k,time period:5 slowing:3)(%d,period:3 method:simple))unterhalb der 30 Linie die Linien kreuzen.

Ich hoffe, daß wird nicht zu kompliziert.

Submitted by position-trader on
position-trader
Member for
12 years 6 months

Gibt es wirklich keinen, der mir hierbei behilflich sein kann ?

metatrader
Member for
12 years 5 months

Hallo,

nicht verzagen, es ist doch Wochenende.

Zu 1:)

If(Sum(If(C>Ref(C,-1),+1,If(C<Ref(C,-1),-1,0)),10)=-6 {10 Tage Meisel}
and adx(14) = 0
{then} 1,
{then} 0)

Anmerkung: Geschweifte Klammern sind Kommentare, der Indikator zeit eine 1, falls die Bedingung erfüllt ist.

Zu 2)

a) 5 Tage Kama mit weniger als 0.01
abs(roc(fml("KAMA"),5,$) < 0.01

b) Hierzu muss man sich %K und %D erst generieren

%K
(Sum(C-LLV(L,5),3)/Sum(HHV(H,14)-LLV(L,5),3))*100

%D
Mov(Fml("%K"),5,S)

gesamt:
abweichung:0.01

abs(roc(fml("KAMA"),5,$)< abweichung

oder

Abs(ROC(Fml("KAMA"),5,%) < abweichung

bzw als Binär Indikator (wie im Chart)
Abs(ROC(Fml("KAMA"),5,%))<0.01

Stochstik Cross < 30

Cross(Mov(Fml("%K"),3,S),Fml("%K"))-Cross(Fml("%K"),Mov(Fml("%K"),3,S)) AND Fml("%K") < 30

Gesamt 2:

Cross(Mov(Fml("%K"),3,S),Fml("%K"))-Cross(Fml("%K"),Mov(Fml("%K"),3,S)) AND Fml("%K") < 30 and Abs(ROC(Fml("KAMA"),5,%))<0.01

Generiert keine Signale, daher mit der Alert Funktion ein wenig mehr Pepp in die Sache bringen, daher die Finale 2 als

Cross(Mov(Fml("%K"),3,S),Fml("%K"))-Cross(Fml("%K"),Mov(Fml("%K"),3,S)) AND Fml("%K") < 30 AND Alert(Abs(ROC(Fml("KAMA"),5,%))< 0.01,10)

position-trader
Member for
12 years 6 months

Fantastisch, metatrader!

Gibt es vielleicht noch die Möglichkeit, daß der Indikator im Explorer erscheint oder sogar im Systemtester ?

Rückrufservice
Please describe your request so that we can prepare for the callback.
Yes, I have read the Privacy Policy note and I consent that the data provided by me, including the contact data, for the processing of the inquiry and in case of questions are electronically collected and stored. My data will only be used strictly for my request and will not be passed without my consent. This consent can be revoked any time with effect for the future.'
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Help?

Do you have questions about ZMP Live? Our team will be happy to help you. Please feel free to send us a message:

Our privacy policy applies

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Register now

Register now and test ZMP Live+ for 14 days free of charge!
  • Permanently free of charge
  • No payment information required