YaroslavG

GetTrendStrategy

A simple strategy is to determine the trend. Do not use it for real-time transactions. Use it as a Reaffirmation trade entry.
从常用的脚本中删除 添加到常用的脚本
//@version=2
strategy("GetTrendStrategy", overlay=true)
tim=input('160')
out1 = security(tickerid, tim, open)
out2 = security(tickerid, tim, close)
plot(out1,color=red)
plot(out2,color=green)
longCondition = crossover(security(tickerid, tim, close),security(tickerid, tim, open))
if (longCondition)
    strategy.entry("long", strategy.long)
shortCondition = crossunder(security(tickerid, tim, close),security(tickerid, tim, open))
if (shortCondition)
    strategy.entry("short", strategy.short)
Здравствуйте! спасибо за интересный инструмент.
Пытался попробовать на этой же паре на дневном тайме, увы, он "отрабатывает" каждую свечу.
У вас график 5 мин.
Основное поле работы стратегии - минутные графики?
При работе на таймфреймах выше 5 минут куда смещать переменную 160 -?
Спасибо
回复
请问看什么时间周期k线图?
回复
I would like to try this strategy
回复
Very nice! Thank for publishing. The Stock strategy have in fact a lot of false signal as you know but still, this is pretty interesting! Thank for sharing! :D

I guess theirs a way to tweak it out with some more line! ;)
回复
hey this is great! ty
回复
This method is trash. The secrety function has a big problem.
Look at the green line. It receive future prices and go down or up ahead of time. If you just run the chart for a few hours. The winning rate is collected at 0%.
+26 回复
soultrain23 soultrain23
@soultrain23, big kinda trash
+4 回复
soultrain23 soultrain23
@soultrain23, Totally embarrassing that people don't recognize this such a shiiitt. The author only wants likes to feels self-esteem, but he can't fool my ass.
+1 回复
what does this script mean
+8 回复
How can this be used for reaffirmation trade entry? I just tested it a bit with Tim input 7 and it created a lot more signals than when I reload the indicator. Also the trades were mostly failed ones. So even when not trading this strategy live, what is it good for when, when it runs, it jumps around and is uncertaing what to show up.
+9 回复
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 剧集 如何运作 图表功能 价格 推荐朋友 网站规则 帮助中心 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 博客 & 新闻 Twitter
概览 个人资料设置 账户和账单 推荐朋友 我的客服工单 帮助中心 已发表观点 粉丝 正在关注 私人消息 聊天 退出