OPEN-SOURCE SCRIPT
Range Breakout Strategy (Candle Close/ Any Break) + P&L

This script defines your chosen range (in candles) based on a candle close or any range break. This can be changed in the settings. The default is candle close - please change it to any range break if you want. As of now, candle close setting on NQ seems more profitable, but this of course will depend on the underlying and also the range of your choosing.
The yellow line shows your entry point. You can of course edit line colors etc. in the settings. The dashed lines show your stop loss (red) and profit target (green).
Then, the script calculates the P&L for your strategy. You can play with the settings and dates to calculate the P&L and see it change in real time in the stats table as you do so.
I took care to calculate partial wins and losses as well, which is all indicated on the chart.
I hope you find this useful.
Happy trading,
~ Ava ~
The yellow line shows your entry point. You can of course edit line colors etc. in the settings. The dashed lines show your stop loss (red) and profit target (green).
Then, the script calculates the P&L for your strategy. You can play with the settings and dates to calculate the P&L and see it change in real time in the stats table as you do so.
I took care to calculate partial wins and losses as well, which is all indicated on the chart.
I hope you find this useful.
Happy trading,
~ Ava ~
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.