OPEN-SOURCE SCRIPT

Stop Loss Panel

Telah dikemas kini
Here is a label panel that shows the stop-loss number for Long or Short trades based on volatility using average true range and and a mult of that.
Nota Keluaran
I made it easier to see on all timeframes, and made it possible to adjust how many decimal places the numbers shown have.
Nota Keluaran
update to chart
Nota Keluaran
Added Take profit and Current Price. The price changes color to green if there is a higher low and changes color to orange if the is a lower high, there is a look back adjustment for this, if set to 2 it would need 2 consecutive higher lows or lower highs, it turns silver if neither have happened
Nota Keluaran
Added a "In Profit" level based on the trading fees, for those that trade on the lower timeframes
Nota Keluaran
The panel position can now be adjusted from the settings
Nota Keluaran
Added Risk and Reward percentages
Nota Keluaran
Display update
Nota Keluaran
The Risk Reward Percentages take the Fee setting into account
Nota Keluaran
Added some description to settings panel
Nota Keluaran
Added a switch to account for round trip fees for Roundtrip fees on Entries and Exits
Nota Keluaran
Changed the colors to be clearer
Nota Keluaran
Changed it a bit so you can set your risk amount
Nota Keluaran
Changed the view
Nota Keluaran
Fixed a bug in the fees on off
Nota Keluaran
Finally adjusted it so only the risk and reward account for the fees
Nota Keluaran
Cleaned up some errors
Nota Keluaran
I have taken the accounting for the fee option out as my math incorrect
Nota Keluaran
You can now enter the price manually
Nota Keluaran
Deleted enter price manually as it was buggy.
Nota Keluaran
I added a contract value so you can see how many contracts you need to trade as well as the dollar amount
Nota Keluaran
a little adjustment to adjust the contract value by 0.1 steps
Nota Keluaran
i added the option to shrink the panel display
Nota Keluaran
The contract display does not round of anymore and its updated to pinescript version 5
Nota Keluaran
Added manual entry for Price Entry and Stop Loss. Also, there is a leverage display showing the amount you will need to complete the trade.
Nota Keluaran
Added manual take profit entry
Nota Keluaran
Updated Chart.
Nota Keluaran
Updated the reward display to include leverage
Nota Keluaran
Minor Update
Nota Keluaran
Added Margin and reward in cash.
Nota Keluaran
Fixed some maths
Nota Keluaran
I added to the display the measurement of profit margin. So you know know what the amount in percentage is to be in profit. Taking into consideration the amount of leverage you are having to put on.
Nota Keluaran
The Profit Margin display basically accounts for the exchange fees on the leveraged cash total you trade.
Nota Keluaran
a few small updates
Nota Keluaran
Update of chart
Average True Range (ATR)stop-lossstoplossstopsVolatility

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian