capissimo

Scaled Normalized Vector Strategy

This is a scaled Normalized Vector Strategy with a Karobein Oscillator
Original: Drkhodakarami (https://www.tradingview.com/script/Fxv2x......)

Repainting: in general there two types of repainting:
* when the last candle is constantly being redrawn
* when the indicator draws a different configuration after it has been deactivated/reactivated, i.e. refreshed.

The former is a natural behaviour, which presents a constant source of frustration, when a signal directly depends on the current market situation and can be overcome with various indirect techniques like divergence.

The latter suggests a flaw in the indicator design.
Unfortunately, the Normalized Vector Strategy is repainting in the latter sense, although being really promising. Would be nice if our community suggests a solution to this problem ))
As it is this strat should be refreshed each time a decision is being taken.

This strat consistently performs with high accuracy, showing up to 96% scores. Here are some of the best parameters:
TF Lookback Performance (ca.)
1m 13 92%
3m 34 92%
5m 85 92%
15m 210 90%
30m 360 89%
1H 1440, 720 94%, 87%

The Karobein Oscillator has an intrinsic sinusoidal behaviour that helps in determining direction and timing. It does not repaint.
Original: alexgrover (https://www.tradingview.com/script/JiNi0......)
从常用的脚本中删除 添加到常用的脚本
Hello, can you please edit the script for me, I just want to buy and sell "Long"
回复
repaint.
+1 回复
in tradingview documentation it says barmerge.lookahead_on is not suited for backtesting, would these results be similar if not use barmerge.lookahead
回复
capissimo MRKCHAMPION
@MRKCHAMPION, they will be worse. Trying to resolve this...
回复
TY19 MRKCHAMPION
@MRKCHAMPION, Right. The statement for barmerge.lookahead_on is as follows:

"Merge strategy for the requested data position. Requested barset is merged with current barset in the order of sorting bars by their opening time. This merge strategy can lead to undesirable effect of getting data from "future" on calculation on history. This is unacceptable in backtesting strategies, but can be useful in indicators."

@capissimo I edited it to barmerge.lookahead_off. The strategy results drop to 30%.
回复
Well done @capissimo and thank you so much!
I tried adding in an alert to test it but in vain. Nothing appeared as Normalized Vector Strategy after right clicking and selecting the alert option on chart.
Wonder if the alert coding works in version 4. Please help. Thanks!
回复
@TY19, Everything works when you remove strategy keyword and all other startegy statements. Replace the header keyword with the study and voilà )
Frankly, I haven't digged into it so far.
回复
TY19 capissimo
@capissimo, I replaced it with study and commented some codes. The alert works now. Thanks!
回复
@TY19, you are aware of the repainting?
回复
TY19 dpanday
@dpanday, Yes, as mentioned by @capissimo in the script, there is a repaint problem in this strategy(Refer line no.16) but I would like to test it how frequent it happens. Normally during testing I won't do any live trading. If there is improvement done to resolve the repaint in the futures, that would be great.
回复
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 如何运作 图表功能 价格 网站规则 版主 网站 & 经纪商解决方案 插件 图表解决方案 寻求帮助 功能请求 博客 & 新闻 常见问题 维基百科 Twitter
概述 个人资料设置 账号和账单 TradingView代币 我的客服工单 寻求帮助 已发表观点 粉丝 正在关注 私人消息 聊天 退出