प्लेटफॉर्म उपयोगकर्ताओं के अनुरोधों के जवाब में, FMZ ट्रेडिंगव्यू की पाइन भाषा लाइब्रेरी के साथ संगतता पर काम कर रहा है और अब एक स्थिर संस्करण में प्रवेश कर चुका है।
भाषा कार्यों के लिए पूर्ण समर्थन एक सतत प्रयास है। उपयोगकर्ता परीक्षण की सुविधा के लिए यह सार्वजनिक संस्करण पहले ही जारी किया गया है।
भविष्य में, FMZ TradingView की पाइन भाषा के लिए फ़ंक्शन लाइब्रेरी समर्थन को बढ़ाना और सुधारना जारी रखेगा। यदि आपकी कोई ज़रूरत है, तो आप इस रणनीति के लिए एक संदेश छोड़ सकते हैं।
नोट: यदि आपको कोई अपरिभाषित चर मिलता है, तो इसका मतलब है कि यह गुण अभी समर्थित नहीं है। आप संबंधित कॉल को हटा सकते हैं, या समाधान के लिए तकनीकी कर्मचारियों से संपर्क करने के लिए कार्य आदेश भेज सकते हैं।

/*backtest
start: 2017-08-17 08:00:00
end: 2025-07-16 08:00:00
period: 1d
basePeriod: 1d
exchanges: [{"eid":"Binance","currency":"BTC_USDT"}]
*/
strategy("supertrend", overlay=true, default_qty_type = strategy.percent_of_equity, default_qty_value = 50)
[supertrend, direction] = ta.supertrend(input(5, "factor"), input.int(10, "atrPeriod"))
plot(direction < 0 ? supertrend : na, "Up direction", color = color.green, style=plot.style_linebr)
plot(direction > 0 ? supertrend : na, "Down direction", color = color.red, style=plot.style_linebr)
if direction < 0
if supertrend > supertrend[2]
strategy.entry("entry long", strategy.long)
else if strategy.position_size < 0
strategy.close_all()
else if direction > 0
if supertrend < supertrend[3]
strategy.entry("entry short", strategy.short)
else if strategy.position_size > 0
strategy.close_all()