Skip to main content

MOVING STOPLOSS for Metastock

smarth71 6 months ago Metastock

  • Rating:
    0 / 5 (Votes 0)
  • Tags:
    Metastock stoploss

MOST is a type of moving stop-loss / trend-following indicator. Technically, it compares price vs. stop-loss/average levels on the chart, based on a smoother moving average rather than raw price bars.

Compared to classic trailing stop-loss methods, it is less affected by sudden price spikes because it relies on an Exponential Moving Average (EMA) rather than direct price data.

MOST is not just a simple line or band; it also provides BUY and SELL signals, offering insight into potential trend reversals or trend continuation.

Screenshots

Indicator / Formula

Copy & Paste Friendly

MOST is a type of moving stop-loss / trend-following indicator. Technically, it compares price vs. stop-loss/average levels on the chart, based on a smoother moving average rather than raw price bars. Compared to classic trailing stop-loss methods, it is less affected by sudden price spikes because it relies on an Exponential Moving Average (EMA) rather than direct price data. MOST is not just a simple line or band; it also provides BUY and SELL signals, offering insight into potential trend reversals or trend continuation.

yuzde:=1;
per1:=21;
ort:=Mov(C,per1,E);

ortp:=ort-(ort*yuzde/100);
ortm:=ort+(ort*yuzde/100);

line1:=If(ort<PREV,ortp,If(ortp>PREV,ortp,PREV));
line2:=If(ort>PREV,ortm,If(ortm<PREV,ortm,PREV));

k1:=Cross(ort,Ref(line2,-1));
k2:=Cross(Ref(line1,-1),ort);

s1:=BarsSince(k1)<BarsSince(k2);
s2:=If(s1=-1,line1,line2);
s2

0 comments

Leave Comment

Please login here to leave a comment.