OPEN-SOURCE SCRIPT
تم تحديثه B-Xtrender [Backtest Edition] @QuantTherapy

Today I have published a Backtest edition of one of my scripts. 
For anyone looking into the indicators please have in the source below where the logic behind the indicator is nicely explained also the source of the inspiration of me coding it in tradingview.
ifta.org/public/files/journal/d_ifta_journal_19.pdf
Strategy
Hope you are having a great day !

For anyone looking into the indicators please have in the source below where the logic behind the indicator is nicely explained also the source of the inspiration of me coding it in tradingview.
ifta.org/public/files/journal/d_ifta_journal_19.pdf
Strategy
- Entry when both bars are in alignment both green = long / both red = short
- Exit when one is against your direction of trade
- TSL will also kick in and exit when the percentage is breached
- Moving Average is there to filter entries. Will allow entry only when active when the price is above (long-only) or below ( short-only )
Hope you are having a great day !
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.