OPEN-SOURCE SCRIPT
RRE Liquidity + VWMA

Added a VWMA Filter input group (length 20, source close, offset, color #2962FF) and plotted it — same VWMA you pasted.
Swapped the liquidity signal mapping so it matches trade intent rather than raw pivot location: a swept low (candle confirmed below) now fires as your Buy signal, and a swept high (candle confirmed above) now fires as your Sell signal — the arrays are renamed buyLiq/sellLiq accordingly, and the sweep-removal conditions were flipped to match.
Added useVwmaFilter (on by default) — Buy signal only fires when close > VWMA, Sell signal only fires when close < VWMA, per "above buy, below sell." Turn it off in inputs if you want raw pivot signals with no VWMA gate.
Added a VWMA Bias row to the info table.
Swapped the liquidity signal mapping so it matches trade intent rather than raw pivot location: a swept low (candle confirmed below) now fires as your Buy signal, and a swept high (candle confirmed above) now fires as your Sell signal — the arrays are renamed buyLiq/sellLiq accordingly, and the sweep-removal conditions were flipped to match.
Added useVwmaFilter (on by default) — Buy signal only fires when close > VWMA, Sell signal only fires when close < VWMA, per "above buy, below sell." Turn it off in inputs if you want raw pivot signals with no VWMA gate.
Added a VWMA Bias row to the info table.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.