工作已完成
执行时间4 天
指定
I need a simple indicator. Inputs are 2 EMA. The indicator runs on open candle. Checks back the last N candle(N max 10).
Gives 3 values for BUY(0/1/2) and 3 values for SELL(0/1/2 ) in histogram.
Buy 1:
(From candle0 to t candle N any candle Open is >= EMA2) AND
(From candle0 to t candle N any candle Low <= EMA2) AND
(From candle0 to t candle N any candle Close is >= EMA2)
Buy 2:
(From candle0 to t candle N any candle Open is >= EMA1) AND
(From candle0 to t candle N any candle Low <= EMA1) AND
(From candle0 to t candle N any candle Close is >= EMA1)
Sell 1:
(From candle0 to t candle N any candle Open is <= EMA2) AND
(From candle0 to t candle N any candle High is >= EMA2) AND
(From candle0 to t candle N any candle Close is <= EMA2)
Sell 2:
(From candle0 to t candle N any candle Open is <= EMA1) AND
(From candle0 to t candle N any candle High is >= EMA1) AND
(From candle0 to t candle N any candle Close is <= EMA1)
There are 2 filters for signals:
Filter 1:
In Buy direction ( EMA1(0) >= EMA1(1)) AND ( EMA2(0) >= EMA2(1))
Insell direction EMA1(0) <= EMA1(1) AND EMA2(0) <= EMA2(1)
Filter 2:
In Buy direction EMA1 >= EMA2
Insell direction EMA1<= EMA2
Calculation decimals are rounded to 4 decimals. So for example 1.45634 = 1.45633 in calculations.
反馈
1
等级
项目
210
40%
仲裁
90
20%
/
43%
逾期
85
40%
空闲
2
等级
项目
571
35%
仲裁
83
31%
/
45%
逾期
206
36%
空闲
3
等级
项目
297
54%
仲裁
0
逾期
1
0%
空闲
发布者: 6 代码
项目信息
预算
30+ USD
截止日期
到 10 天