编辑精选
OPEN-SOURCE SCRIPT
已更新

[MAD] Position starter & calculator

38 994
The tool you're using is a financial instrument trading planner and analyzer.

Here is how to use it:

Trade Planning: You can plan your trade entries and exits, calculating potential profits, losses, and their ratio (P/L ratio).
You can define up to five target closing prices with varying volumes, which can be individually activated or deactivated (volume set to 0%).

Risk Management: There's a stop-loss function to calculate and limit potential losses.
Additionally, it includes a liquidation pre-calculation for adjustable leverages and position maintenance(subject to exchange variation).

Customization: You can customize the tool's appearance with five adjustable color schemes, light and dark.

-----------------

Initiation: This tool functions as an indicator.
To start, add it as an indicator.
Once added, you can close the indicator window.
Now wait, till you'll see a blue box at the bottom of the input window.

Parameter Input:
Enter your parameters (SL, box left, box right, TP1, TP2, TP3, TP4, TP5) in the direction of the desired trade.
Click from top to bottom for a short trade or bottom to top for a long trade.

快照

Adjustment: If you want to move the box in the future, adjust the times in the indicator settings directly as click input is not yet platform-supported.

This tool functions as a ruler and doesn't offer alerts (for now).

Here is another examples of how to set up a Position-calculation but here for a short:

快照

Have fun trading
版本注释
change of the standard colortheme to a new light /dark compatible one 0->5
no other changes
版本注释
This version includes alerts with freely configurable alert texts.

Position open is only executed inside the entry box, so ensure that the entry box is configured correctly into the future.
Configure the entry box in your analysis timeframe.
If you want to add alerts, make sure to switch to a very low timeframe (at least 1 minute, preferably 15 seconds) before creating them.

options for text replacements are:
{{close}}: Replaced with the current closing price.
{{open}}: Replaced with the current opening price.
{{high}}: Replaced with the current highest price.
{{low}}: Replaced with the current lowest price.
{{timestamp}}: Replaced with the current timestamp in the format "From":"YYYY:MM:DDTHH:MM:SS000000Z".
{{tp_number}}: Replaced with the current take profit number.
{{username}}: Replaced with the current username.
{{direction}}: Replaced with the trade direction: "1" for long, "-1" for short.
{{ticker}}: Replaced with the current ticker symbol.
{{exchange}}: Replaced with the current exchange prefix.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。