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)
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%.
+4 返信
soultrain23 soultrain23
@soultrain23, big kinda trash
返信
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.
返信
what does this script mean
返信
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.
+6 返信
Canundo Canundo
@Canundo, I let it run around a day with setting 20 candles on 5 min. A lot of negative trades. Too bad one can't run a strategy without the backtest to get real results overview. It would be way worse though. However, it depends on the volatility. The higher the better for the strategy.
Only thing behind is this security TIM. I'm not sure what it is. I searched for it and there is a TIM as well but it doesn't really look related. Also it wouldn't explain why the backtest creates clean and profitable trades while it stumbles around when going live. It looks like the security is repainted, but then again it also looks like a normal behaviour of tradingview.
Quite confusing. Not sure if something can be done with it.
+1 返信
Canundo Canundo
@Canundo, ok, learned a bit more about this. "tim" is just a variable containing the number 160. The security part only says that it takes 160 minute candles from tickerid, so it's the same stock you show in the chart, just the prices for 160 min candles.
The difference when using it live comes from tradingview itself, how it creates these 160 min candles. That's why it's jumpy.
Not sure of the value at all. If the trend is clear and unbroken it might work somewhat, when it's ranging it is dangerous. So somewhat similar to crossing averages.
返信
а можете сделать на него оповещение
+2 返信
Wolfram_ BigCryptoMan111
@BigCryptoMan111, it's a fake strategy, repaints. Alerts gives you nothing.
How do you write in Russian? I see a message that only English is allowed.
返信
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.
+2 返信
ホーム 株式スクリーナー FXスクリーナー 仮想通貨スクリーナー 経済指標カレンダー 使い方 チャート機能 価格 ハウスルール モデレーター ウェブサイト&ブローカー向けソリューション ウィジェット チャートソリューション ヘルプセンター 機能リクエスト ブログ&ニュース よくあるご質問 ウィキ ツイッター
プロフィール プロフィール設定 アカウントとお支払い TradingView コイン マイサポートチケット ヘルプセンター 公開したアイデア フォロワー フォロー中 プライベートメッセージ チャット サインアウト