Super Trend 2 Strategy

Here is my Strategy using the Supertrend Indicator made by rajandran.r. Special thanks to him for his work.

Time Frame of the Main Supertrend must be bigger than the chart Time Frame.
Works best with trending market, chart Time Frame 5min and Supertrend Time Frame 2h.
Have fun and make some money (:-)
Remove from Favorite Scripts Add to Favorite Scripts
I dont understand lines 20 & 21
I want to code my own line but it wont compile saying TrendUp isnt defined?
+5 Reply
I keep getting the error: "line 20: Undeclared identifier `TrendUp`:"
For this input and all the others (linecolor, MTrend, Trend, MTsl, MTrendUp, etc.)

I am trying to apply this to ETHBTC.
+3 Reply
This isn't a syntax error right? Do i need something else set up before I can apply this?
+3 Reply
seb1001 DashTrader
@claybaron, how do you not make it repaint cuz it seems even with a factor of 1 it repaints
@seb1001, it isn't something I think that can be fixed by anyone using this script. It can only be fixed by tradingview.
+1 Reply
@DashTrader, How do you guy discover that it repaints? I watched on 1 min time interval and it was working just fine. After bar closes it won't change. If you think otherwise please help me to understand your point. I'm about the create an alert for this and start trading.
+1 Reply
imdat HuseyinGokmen33
@HuseyinGokmen33, this wasn't repaints. The main trend if you set it 1hr or less it will drop too much when live data feed. Problems is on tradingview. Same thing happens to this poster ->
maca29 HuseyinGokmen33
@HuseyinGokmen33, Did you manage to create an alert for this?
EN English
EN English (UK)
EN English (IN)
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 العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out