工作已完成
执行时间3 天
客户反馈
very good. On time delivery.
指定
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
//@version=4
study("Trend Magic", shorttitle="TM", overlay=true, format=format.price, precision=2, resolution="")
period=input(20,"CCI period")
coeff=input(1,"ATR Multiplier")
AP=input(5,"ATR Period")
ATR=sma(tr,AP)
src=input(close)
upT=low-ATR*coeff
downT=high+ATR*coeff
MagicTrend=0.0
MagicTrend := cci(src,period)>=0 ? (upT<nz(MagicTrend[1]) ? nz(MagicTrend[1]) : upT) : (downT>nz(MagicTrend[1]) ? nz(MagicTrend[1]) : downT)
color1= cci(src,period)>=0 ? #0022FC : #FC0400
plot(MagicTrend, color=color1, linewidth=3)
alertcondition(cross(close, MagicTrend), title="Cross Alert", message="Price - MagicTrend Crossing!")
alertcondition(crossover(low, MagicTrend), title="CrossOver Alarm", message="BUY SIGNAL!")
alertcondition(crossunder(high, MagicTrend), title="CrossUnder Alarm", message="SELL SIGNAL!")
Please convert this to mt5
反馈
1
等级
项目
200
12%
仲裁
39
38%
/
33%
逾期
5
3%
空闲
发布者: 2 代码
2
等级
项目
68
25%
仲裁
12
42%
/
42%
逾期
4
6%
空闲
3
等级
项目
178
39%
仲裁
4
25%
/
50%
逾期
14
8%
空闲
4
等级
项目
355
72%
仲裁
7
43%
/
29%
逾期
20
6%
工作中
项目信息
预算
30+ USD
截止日期
到 1 天