diff --git a/Core/Helper/SystemHelper.cs b/Core/Helper/SystemHelper.cs index 398b403..73cd7d6 100644 --- a/Core/Helper/SystemHelper.cs +++ b/Core/Helper/SystemHelper.cs @@ -547,6 +547,19 @@ namespace Core.Helper result += pairName; } + else if (platform.Equals("TradingViewFutures")) + { + result = "https://www.tradingview.com/chart/?symbol="; + + string pairName = SystemHelper.StripBadCode(market, Constants.WhiteListMinimal); + + if (pairName.StartsWith(mainMarket)) + { + pairName = pairName.Replace(mainMarket, "") + mainMarket; + } + + result += pairName + "PERP"; + } else { switch (exchange) diff --git a/Monitor/Pages/SettingsGeneral.cshtml b/Monitor/Pages/SettingsGeneral.cshtml index 1fdfa3e..5447e0b 100644 --- a/Monitor/Pages/SettingsGeneral.cshtml +++ b/Monitor/Pages/SettingsGeneral.cshtml @@ -241,8 +241,9 @@
diff --git a/Monitor/Pages/_get/BagDetails.cshtml b/Monitor/Pages/_get/BagDetails.cshtml index 273794f..88f2a35 100644 --- a/Monitor/Pages/_get/BagDetails.cshtml +++ b/Monitor/Pages/_get/BagDetails.cshtml @@ -125,9 +125,9 @@ DCA Buy Strategies @if (buyDisabled) { - @Html.Raw(buyStrategyText) + @Html.Raw(buyStrategyText) } else { - @Html.Raw(buyStrategyText) + @Html.Raw(buyStrategyText) } diff --git a/Monitor/Pages/_get/BagList.cshtml b/Monitor/Pages/_get/BagList.cshtml index b1f7eb4..2323bc1 100644 --- a/Monitor/Pages/_get/BagList.cshtml +++ b/Monitor/Pages/_get/BagList.cshtml @@ -110,9 +110,9 @@ // Buy strats @if (buyDisabled) { - @Html.Raw(buyStrategyText) + @Html.Raw(buyStrategyText) } else { - @Html.Raw(buyStrategyText) + @Html.Raw(buyStrategyText) } // BS Value @@ -144,7 +144,7 @@ } // Sell Strats - @Html.Raw(sellStrategyText) + @Html.Raw(sellStrategyText) // SSV @Html.Raw(currentSellValueText)