SELAMLAR PMAX AL SAT KOŞULUNU EXPERT ADVISOR EKLİYORUM FAKAT BARLARI RENKLENDİRMİYOR.
AL KOŞULU
period:=10;
coeff:=3;
MovPeriod:=10;
K:=MOV((H+L)/2,MovPeriod,E);
OFFSET:=coeff*ATRe(period);
STR:=K+OFFSET;
STS:=K-OFFSET;
FUB:=IF(STR<PREV OR REF(K,-1)>PREV,STR,PREV);
FLB:=IF(STS>PREV OR REF(K,-1)<PREV,STS,PREV);
PMax:=IF(PREV=REF(FUB,-1) AND K<FUB,FUB,IF(PREV=REF(FUB,-1) AND K>FUB,FLB,IF(PREV=REF(FLB,-1) AND K>FLB,FLB,IF(PREV=REF(FLB,-1) AND K<FLB,FUB,FUB))));
cross(K,PMax)
SAT KOŞULU
period:=10;
coeff:=3;
MovPeriod:=10;
K:=MOV((H+L)/2,MovPeriod,E);
OFFSET:=coeff*ATRe(period);
STR:=K+OFFSET;
STS:=K-OFFSET;
FUB:=IF(STR<PREV OR REF(K,-1)>PREV,STR,PREV);
FLB:=IF(STS>PREV OR REF(K,-1)<PREV,STS,PREV);
PMax:=IF(PREV=REF(FUB,-1) AND K<FUB,FUB,IF(PREV=REF(FUB,-1) AND K>FUB,FLB,IF(PREV=REF(FLB,-1) AND K>FLB,FLB,IF(PREV=REF(FLB,-1) AND K<FLB,FUB,FUB))));
cross(PMax,K)
EKLEME YAPTIĞIM YERLER AYNI KOŞULLARI ÖNCE TREND BOĞA-AYI SONRA RENKLER VE DAHA SONRA SEMBOLLER KISMINA EKLİYORUM FAKAT RENKLENDİRME YAPMIYOR.