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)
Thanx for your strategy. I was using a similar strategy but gave on 65% probability. you strategy is simple but with a very high probability.
Reply
repainting all the time. fake strategy
+16 Reply
open me access brother
+1 Reply
WHAT IS THE BASIC BEHIND THIS YARO ??

IS IT A MOVING AVERAGE CROSSOVERS ??
+4 Reply
How to set alarm for the signal of this indicator?
+13 Reply
Can't the repaint be fixed?
+19 Reply
@paulade, Is there a solution?
+4 Reply
careful , it could repaint the strategies every time that you open it
+3 Reply
It doesn't work at 1 day.
Reply
Working on indicator, please inbox me to make this indicator better.
+3 Reply
EN English (IN)
EN English
EN English (UK)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
HE עברית
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Get Help Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing Get Help Ideas Published Followers Following Private Messages Chat Sign Out