输入/搜索内容

Playing the cross

EMA
复制: 5
点击次数: 1194
1
关注
1789
关注者

For this script i used Kijun-sen from Ichimoku Cloud and Moving Average.

Kijun-sen is the base line of the Ichimoku Cloud or the midpoint price of the last 26 period.
Moving Average is a constantly updated average price of a given range.
In this script i used the standard Kijun-sen settings and the Moving Average, 55 length.

You will get an red or green signal when the lines cross each other.
Try the indicator yourself to see, why it could be useful.

A special thanks to @norok and @happyCloud1537 for teaching me!
This will lead to more scripts from my side, since i really like to code and trade.

backtest
img

策略源码
Pine
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Glenn234

//@version=5
indicator("Playing the cross", shorttitle="PtC", overlay=true)

// Ichimoku code - Kijun-Sen
basePeriods = input.int(26, minval=1, title="Kijun-Sen length")
donchian(len) => math.avg(ta.lowest(len), ta.highest(len))

KijunSen = donchian(basePeriods)
plot(KijunSen, color=color.green, title="Kijun-Sen")
策略参数
策略参数
Kijun-Sen length
EMA length
Source
评论
全部评论 (0)
暂无数据
暂无数据
  • 1
iPhone 下载
社区
回测系统
© 2015 - ∞ INVENTOR PTE LTD (SG)