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)

Comments

repainting all the time. fake strategy
+67 Reply
Can't the repaint be fixed?
+41 Reply
@paulade, Is there a solution?
+16 Reply
Hi Man, Good Evening,
I was using your indicator quite long and noticed some advantages while changing the Tim values.
40 for Scalping
80 for Intraday
160 for Swing trades
Yes!! its working very well in scalping and I made some Millions (Rupees) in Jan, Feb & March 2020.

Thanks for your best indicator
Srinivas
India👍👍👍👌👌👌🟥⬜🟩
+40 Reply
minakshi_nv srinivas36514
@srinivas36514, Hi, have you been able to add alerts? If yes, can you share, please?
+7 Reply
Siddh98 uscrypdoh
@uscrypdoh, Hi minakshi there is one problem actually at the beginning it gives correct signal but after some time at each candle it gives bong short signal im stuck on this, so do you have any solution on this?
Reply
amitnandi srinivas36514
@srinivas36514, sir this indicator are repainting or not?
Reply
MayankDoshi srinivas36514
@srinivas36514, what time frames do you use for scalping, intraday and swing trades?
+6 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out