aFastHero

Order Size (Units) and Entry/Stop Prices

This is a risk management script derived from the Turtle trading system. I will define what is needed for each input and will also include a brief description about the intended implementation of the risk management strategy. The risk strategy can be used with any trading strategy. This script displays the order size as a unit. 1 unit is the intended size of an entry, first or adds. If trading contracts, Unit Value is presented in terms of number of contracts. If NOT, Unit Value is presented in terms of total cost for a unit in the currency of the market being traded.

::Inputs::

"Available Capital:" - This number should be the TOTAL amount of capital for use in trading account. DO NOT adjust for leverage. The default available capital is set at 15000.

"Account Currency:" - This should be the currency type for the amount entered into "Available Capital:".

"Does Account Currency Need To Be Converted?" - The currency type of "Available Capital:" must match the currency type of the market being traded. If the value of capital is not known for the market currency type, this option will perform the necessary calculation.

"Exchange used to derive BTC value" - This option is used to determine the exchange rate for currency conversions.

"Market Being Traded:" - This option reflects the trading pair of the asset being traded.

"Trading with leverage?" - This option will allow a user-specified constant value (i.e. leverage factor) to be used for calculating the account balance and number of units (i.e. order size). This is option is set to "No Leverage" by default, which will only allow the specified available capital to be used for balance and unit calculations.

"Amount of Leverage? (1-100)" - This number is the leverage factor being applied to the account per trade (e.g. 2.5, 5, 25, 50, 100). The default leverage factor is 100.

"Trading Contracts?" - This option will allow a user-specified value, for contracts, to be used when calculating unit value per order. This option is intended to be used when trading a derivative product (e.g. a contract.)

"Cost Per Contract" - This number should be equal to the value of the derivative, quoted in dollars. (e.g. Bitmex contracts are valued at $1, so the cost per contract = 1. Deribit offers contracts valued at $10, so the cost per contract =10.)

"Risk Percent" - This number should be the percent of capital you are willing to risk for each trade. (e.g. A $10,000 trading account using 2% risk would risk LOSING $20 on a trade.) Increasing or decreasing the risk amount will adjust stops and adds. This strategy would normally consider the total account equity when calculating the size of every new position. Currently, this indicator only calculates on the amount entered into the "Available Capital:" field. I plan to address this factor before implementing the script into the final complete trading strategy script. The default risk percent is set at 2.

Please remember, this indicator is technically in a testing phase. It makes up only a small piece of what will be a much more involved script.

***I am having some trouble with getting correct calculations when trading "BTC Market". I have yet to determine if the issue is due to the TradingView feeds or if the issue is in the actual code. I have, so far, calculated differences of 15-30% when comparing an asset value between it's trading pairs. I am always open to ideas and suggestions.***
초대 전용 스크립트

이 스크립트에 대한 접근은 작성자가 승인한 사용자로 제한되며, 일반적으로 지불이 필요합니다. 즐겨찾기에 추가할 수 있지만 권한을 요청하고 작성자에게 권한을 받은 후에만 사용할 수 있습니다. 자세한 내용은 aFastHero에게 문의하거나 아래의 작성자의 지시사항을 따르십시오.

트레이딩뷰는 당신이 스크립트 작성자를 100% 신뢰하고 스크립트의 작동 방식을 이해할 때까지 스크립트 비용을 지불하고 사용할 것을 권장하지 않습니다. 대부분의 경우 트레이딩뷰의 커뮤니티 스크립트 에서 무료로 좋은 오픈 소스 대안을 찾을 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?

경고: 액세스를 요청하기 전에 읽으십시오 .