vnhilton

Equities Risk Tool [vnhilton]

To quickly apply this indicator onto the chart, open the source code in Pine Editor & click 'Add to chart'. Perhaps in the future, TradingView will add a feature where you can have favourited indicators on the favourites toolbar alongside the favourited drawing tools. 🤔

Traders will need to calculate how many shares are needed for their position, where if price goes against them towards their stop loss, then they'll lose the amount that they risked on that trade. The formula for this is: Amount willing to risk / Stop loss distance. Traders can carry out these calculations via a calculator, spreadsheet or a simple program with outputs generated from inputs. These 3 methods have 1 thing in common, & it's that you have to manually input the the values, which isn't very convenient, especially for traders trading in a fast paced environment, where milliseconds matter. This indicator is similar to TradingView's Long & Short Position tools, & removes this inconvenience by allowing you to only click to submit your entry & stop out levels, without having to type a single thing (the only thing that would require typing is your account equity in the settings).

This indicator will display lines on the chart showing the entry, stop-out & several profit target levels. The entry & stop-out levels can be moved in any direction as desired, & the profit target levels following suit. You're able to adjust the different profit factors if you're aiming for different reward targets (e.g. You want a 1:2 RR trade, so the profit factor here will be 2 - 2 times the distance between the entry level & stop out level).

A table will also be displayed showing the direction of the position, alongside the shares required for several account risks which is useful if trading different quality setups from A-D for example. The calculated shares displayed are also shown in proportions as well. Here, you're able to see 25%-50%-75%-100% of calculated shares, which may be useful when scaling in/out of trades. All mentioned features are customisable.

Calculated shares for long & short positions can be rounded down to any decimal places. This can be useful if you intend to trade e.g. in batches of 100, then you would use a round down factor of -2.
ملاحظات الأخبار:
- Removed redundant comments in the code
ملاحظات الأخبار:
Added stop loss size to 'LONG' & 'SHORT' cells
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟