Merhabalar,
Aşağıdaki şekilde deneyebilirsiniz,
period:=10;
median:=(H+L)/2;
maxMedian:=HHV(median,period);
minMedian:=LLV(median,period);
nValue1:=0.33*2*((median-minMedian)/(maxMedian-minMedian)-0.5)+0.67*prev;
nValue2:=if(nValue1>0.99,0.999,if(nValue1<-0.99,-0.999,nValue1));
nFish:=0.5*log((1+nValue2)/(1-nValue2))+0.5*prev;
pos:=if(nFish>ref(nFish,-1),1,if(nFish<ref(nFish,-1),-1,prev));
DEMA12:=2*mov(c,12,e)-mov(mov(c,12,e),12,e);
DEMA26:=2*mov(c,26,e)-mov(mov(c,26,e),26,e);
MACDEMA:=DEMA12-DEMA26;
TRIGGER:=2*mov(MACDEMA,9,e)-mov(mov(MACDEMA,9,e),9,e);
nFish<ref(nFish,-1) AND cross(most(c,3,2),mov(c,3,e)) AND cross( TRIGGER,MACDEMA)
iyi çalışmalar