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.
Remove from Favorite Scripts Add to Favorite Scripts
//@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)
Отличная стратегия!
Ответить
Elk BTCTTM
Я так не думаю. Это обман. Стратегия смотрит в будущее, как закроется день, и задним числом открывает сделку.
Ответить
Это не обман, это стратегия, для подтверждения тренда. Написано же в описании
Ответить
I Like It! Why do you say not to use it for real-time transactions?
Ответить
YaroslavG tradersf
I think so. Do you think differently?
+2 Ответить
I've noticed it changes on a live chart. ( sometimes a short signal is there and then gone ) Why is this? I like it a lot but find it hard to trade with because it changes sometimes from buy to sell.
Can you help with a way to trade using it. Thanks
Ответить
YaroslavG tradersf
I say it: Use it as a Reaffirmation trade entry
Ответить
tradersf YaroslavG
ok
Ответить
me too seen this when tested it for month
Ответить
it's easy to trade knowing the future :-D
Ответить
yeah))
Ответить
windwine PRO YaroslavG
I noticed that it was taking the order at the open of the action bar. But when I am checking other published scripts they are showing entry at the open of next bar while using the
if (long condition) strategy.entry("long",strategy.long) logic. I am new to TV so can you help me understand what was driving the differences in the orders? Thanks.
+3 Ответить
Sorry for the dumb question, I get the wrong #:-) THX.
Ответить
I think that it is a good strategy for trading options
Ответить
do you happen to have this for MT4 in Python? Really good stuff...would love to implement. Thanks.
Ответить
dheerajsood PRO shinobiglobal
Hello Yaroslav ,
Good Work There , Could you be kind enough to explain what is it based on and how does it work?
Thanks
Ответить
Great Manipulation Job. Thanks to that person brought this to my attention.

This is not realistic !!!
Ответить
YaroslavG ucsgears
Thank you brother!
+1 Ответить
nvcworld YaroslavG
hi sir
Ответить
nvcworld nvcworld
i need yours help in pine code , please help me
Ответить
YaroslavG nvcworld
Привет)
Ответить
привет ты где торгуешь по этой стратегии???
Ответить
It's great strategy, but like all prediction systems. There not always reliable. I already added alerts, I'm just trying to fix the issue with the repainting. Maybe by extending the lines further apart it will work better, without occurring faulty trades. If anyone knows how to do it, please inform me. Thank you.
+2 Ответить
lubosdesk TradeWithConfidence
hi Kevin. did u use it with real account? is it worth it?
Ответить
sd2020 TradeWithConfidence
Increase count
Ответить
Как же вывел 86 % прибыльных сделок, если сделки выставляются задним числом? Картинка красивая но не более. Или я чего не понял?
Ответить
YaroslavG NIKOOOLAY
Эта стратегия смотрит в будущее правильно поняли, ее использую только для подтверждения тренда на долгосрок.
Ответить
maramashk YaroslavG
@YaroslavG, Привет, не подскажешь как расчитываются линии, на основе какой цены, хотя бы в двух словах.. Стратегия кажется гениальной, но хотелось бы понять на основе чего пересекаются линии. В прогр. не силен..))
Ответить
Could you please explain the logic/Philosophy behind this strategy????? It would be greatly appreciated. Thank you.
+1 Ответить
Royaxe , the guy is already shared the script above its very simple he use 160 min you can change to higher or lower frame BUT this is not the question here , the strategy as he said is not for real time trade cause its re-painting , looks great for back testing but no use live unless you use it to expect the trend


The results you see are not real, the indicator changes the values of the past bars or histogram so it looks like it works but it doesn't, the past is "repainted" in every tick or 160 min or what ever timeframe he use

Unlike moving average , MAs will not repaint, they are all based on averages of the past, what you see is what they are. No cheating No false indication No fake signal
Ответить
Hi.. Great work. But when i change the duration to 1 min.. it doesnt show the signal that often. Could you help me with this. Thanks!
+1 Ответить
Hi. To generate more signals when working with short time frames, you should reduce the number into the "tim" variable. tim=input('160') In this sample, the number 160 means 160 minutes. So, it will look to 160 minutes ahead to determine the trend. For 1 minute chart, try something like 15 or maybe 30.

It is a repainting if the trend is not confirmed (as this is looking ahead for a confirmation). I mean it still works because when you have an entry signal, you can entry and place a stop loss.
Ответить
can you give me on amibroker your code my email is mmfinshare@gmail.com
thanks,
Ответить
very fine indicator, good work! did anyone manage to add an alert on long/short signal on this one, if yes, can you please share? Thanks!
Ответить
How the out1 and out2 is plotted, what is Tim?.
Ответить
Working on indicator, please inbox me to make this indicator better.
Ответить
Идеи Скрипты График
Россия
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Türkiye
Indonesia
日本
한국
Домой Скринер акций Сигналы для Форекс пар Экономический календарь О проекте Особенности Правила поведения Модераторы Для сайтов Виджеты Компонент графиков Приоритетная поддержка Отзывы и предложения Блог и новости ЧаВо Справка и Wiki Твиттер
Личные сообщения Чат Опубликовано идей Подписчики Подписаны Приоритетная поддержка Публичный профиль Настройки профиля Счёт и оплата Выйти