(function(){
var COOKIE_NAME = 'menthorq_utm_params';
var LS_KEY = 'menthorq_utm_params';
var UTM_KEYS = ['utm_source','utm_medium','utm_campaign','utm_term','utm_content','utm_id'];
var CLICK_ID_KEYS = ['gclid','fbclid','msclkid','ttclid'];
var COOKIE_DAYS = 30;// Read UTM parameters and click IDs from current URL
var params = new URLSearchParams(window.location.search);
var trackingData = {};
var hasData = false;
var allKeys = UTM_KEYS.concat(CLICK_ID_KEYS);
for (var i = 0; i < allKeys.length; i++) {
var val = params.get(allKeys[i]);
if (val) {
trackingData[allKeys[i]] = val;
hasData = true;
}
}if (hasData) {
// Fresh tracking data found in URL — store it (overwrites previous attribution)
trackingData.captured_at = new Date().toISOString();
setCookie(COOKIE_NAME, JSON.stringify(trackingData), COOKIE_DAYS);
try { localStorage.setItem(LS_KEY, JSON.stringify(trackingData)); } catch(e) {}
return;
}// No tracking params in URL — check if cookie exists
if (getCookie(COOKIE_NAME)) return;// Cookie is missing (expired or first visit) — try to restore from localStorage
try {
var stored = localStorage.getItem(LS_KEY);
if (stored) {
var parsed = JSON.parse(stored);
if (parsed && (parsed.utm_source || parsed.gclid || parsed.fbclid || parsed.msclkid || parsed.ttclid)) {
setCookie(COOKIE_NAME, stored, COOKIE_DAYS);
}
}
} catch(e) {}// Helper: set cookie
function setCookie(name, value, days) {
var expires = new Date(Date.now() + days * 864e5).toUTCString();
var cookie = name + '=' + encodeURIComponent(value) + ';expires=' + expires + ';path=/;SameSite=Lax';
if (location.protocol === 'https:') cookie += ';Secure';
document.cookie = cookie;
}// Helper: get cookie value (returns empty string if not found)
function getCookie(name) {
var match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
return match ? decodeURIComponent(match[1]) : '';
}
})();
var breeze_prefetch = {"local_url":"https://menthorq.com","ignore_remote_prefetch":"1","ignore_list":["/account/","/login/","/thank-you/","/wp-json/openid-connect/userinfo","wp-admin","wp-login.php"]};
//# sourceURL=breeze-prefetch-js-extra
In this guide we will show you how to add swing levels to TradingView. MenthorQ has developed a proprietary model for Swing Trading. To learn more about this model you can read our Guide on Swing Trading Model.
The Swing Trading Model Indicator is designed to give traders an edge by predicting key price levels based on a sophisticated algorithm that integrates momentum, options flow, market positioning, gamma, and delta.
Within the models we have 3 Levels:
Upper Band (UB)
Lower Band (LB)
Risk Trigger (RT)
Swing Levels Integration with TradingView
You can now add the Swing Levels to TradingView. Check out our Video Tutoria.
Swing Levels
Within the Indicator we provide the last 5 days of Swing Levels:
LB stands for Lower Band
UB stands for Upper Band
RT stands for Risk Trigger
The levels that you see in the indicator are the levels from the 5D Swing Trading Model.
Then you will see RT T-1, RT T-2, RT T-3, RT T-4 and RT T-5. This represents the levels from yesterday (T-1), 2 days ago (T-2), 3 days ago (T-3) and so on.
Why? Because the goal of the Swing Model is to predict price action for the next 5 days so the levels from 5 days ago are still valid today.
Join us today
Access daily Market Research and our interactive Dashboard. Make better trading decisions.