outsidebar = not insidebar and ((high>=high[1] and low<=low[1])) plotshape(insidebar, title="I", style=shape.cross, location=location.belowbar, size=size.tiny,color=color.green, transp=0, offset=0) plotshape(outsidebar, title="O", style=shape.circle, location=location.belowbar,...
X是变量,每天的X值都不同,从远到近地标记,它们分别记为X1,X2,X3,….,Xn 当N=1,则EMA(...
TradingView松树脚本多交叉策略 、、、 ("EMA", "1stEMAType", options=["SMA", "EMA"]) type2 = input("EMA", "2ndEMAType", options=["SMA&quo 浏览29提问于2019-09-28得票数0 1回答 差价止损-均线 sma(src, fast_length) :ema(src, fast_length)macd = fast_ma - slow_mahist = macd -...
currency algo-trading forex cryptocurrency exchange trading-strategies bitfinex margin technical-indicators candlestick ema bitmex trading-indicator tradingview binance bollinger-bands bybit ftx dydx Updated Nov 24, 2024 TypeScript IndexOutOfBounds998 / quant4j Star 219 Code Issues Pull requests 火币量...
indicator("OVR REAP Multi Time Frame EMA with Bar Count", "MTF 5xEMA & Bar Count", overlay=true, max_labels_count=500) // MTF EMA部分 src = close bg3 = input.bool(false, title="To enable background color change") ma_len1 = input.int(title="EMA 1min", defval=20) ...
我在TradingView上使用pine脚本测试策略时遇到了问题。 当MA9在1小时的时间内超过MA5时,我有一个策略条目。这没问题,只需编写脚本并在TradingView上将时间更改为1小时即可。 然而,只有当RSI在15分钟的时间范围内大于60时,该策略才会进入。如果我跟踪不同时间的事情,是否可以使用pine脚本在tradingview上测试此策略?我1...
indicator("OVR REAP Multi Time Frame EMA with Bar Count", "MTF 5xEMA & Bar Count", overlay=true, max_labels_count=500) // MTF EMA部分 src = close bg3 = input.bool(false, title="To enable background color change") ma_len1 = input.int(title="EMA 1min", defval=20) ...