Đang Thực Hiện

Adding TradeQuanity to a Tradestation Easy Language Strategy

In this strategy, I’ve combined both the buy and sell side of the Parabolic SAR. I'm trying to make a modification to the strategy, Parabolic LE & SE. I would like to add TradeQuantity. I would like to risk a fixed amount of dollars on every trade, whether the range from the high to the low of the SAR is 5% or 1%.

For example, In the screenshot below, I would like the risk to be based on the difference between the buy entry, and where the SAR would be positioned for a stop-loss should the trade trigger. In this case, the entry at $35.00, subtracted by $34.53 would be $.47. If I wanted to risk $100, ($100 / $.47) = 213 shares. The important thing though, is that the share count adjusts after every bar. The previous bar, the SAR was at $35.04. If it would have triggered this bar instead, ($100 / $.51) = 196 shares. As the range gets smaller, the number of shares would increase.

Add a tick threshold to both sides, needing each side to break the SAR by a pre-determinable amount, 1 tick, 2 ticks. And then calculate the shares to trade based on the tick threshold.

The range, the distance between the entry price and the stop-loss, needs to be a minimum, definable percentage.

Set a profit target and stop-loss based on a percentage of the range. For example, in the screenshot posted, the range is $.47. Being able to set the profit target at 75% of the range for example, ($.47 * .75) = $.3525, Price to buy = $35.00 + $.3525 = $35.25 Profit Target.

Being able to set the stop-loss at 25% of the range for example, ($.47 * .25) = $.1175, Price to buy = $35.00 - $.1175 = $34.88 Stop-Loss.

Is this possible to do within the Tradestation Strategy Code? Thanks.

Kĩ năng: TradeStation, PHP, Kiến trúc phần mềm, Trading

Về Bên Thuê:
( 1 Nhận xét ) North Miami, United States

ID dự án: #32058250

Được trao cho:

DWSol

Responsive Website Designing/Development Adding TradeQuanity to a Tradestation Easy Language Strategy DW Solution Online is providing Responsive Website designing & Development Services}We have been designing and devel Thêm

$155 USD trong 14 ngày
(0 Đánh Giá)
0.0

6 freelancer chào giá trung bình$194 cho công việc này

scriptzguru

Hello sir , Is it desktop application ? Or web application ? If we web application and API provided , then everything possible sir . Please let me know sir , when you here . Thank you

$30 USD trong 10 ngày
(51 Nhận xét)
5.7
adecrypto

Good day prospective client. I am a senior software developer who is majorly focused on creating trading software/bot, some of which include: - MetaTrader 4,5 Indicator and Expert Advisor - Ninjatrader 7/8 indicators a Thêm

$200 USD trong 3 ngày
(4 Nhận xét)
5.1
carina0530

Hello, ✵✬✭✮ As Web&Python developer, I can complete your project perfectly!✵✬✭✮⚝ I can finish right now. I saw your post and understood it clearly. I can get this done at short time, because i have a lot of experiences Thêm

$140 USD trong 7 ngày
(2 Nhận xét)
4.0
HGHUB

Hello, As an expert in the development of Forex/CFD/Blockchain trading systems and Blockchain Development, I can deliver the desired result on your project. 1) I have vast experience in the development of trading b Thêm

$500 USD trong 3 ngày
(1 Nhận xét)
2.1
denyskyrylenko91

Hello, I hope you are doing well and safe from COVID-19. I am happy to bid on this project as we have a handful of experience with this kind of portals. I am sharing some of our recently delivered job portals for your Thêm

$140 USD trong 7 ngày
(0 Nhận xét)
0.0