Create a pine script tool to manage risk and place orders on Tradingview

Other 脚本 咨询

指定

I want to pull a fib, with set entry price at a certain percentage, with stopploss set at another percentage of the fib. Risk is set in USD. Risk to match stop loss level. TP is set as ratio to stop loss. Calculate no. of contracts. A hot key for buy and one for sell.

 Illustration:

In settings

Inputs:

Fib% to be displayed

Entry level fib%

stop loss fib percentage

TP ratio

Risk in USD or account percentage


Operation

I pull the fib it automatically calculates the size of the trade. Then a hot key is used to place the orders at the set prices.

反馈

1
开发者 1
等级
(3)
项目
2
0%
仲裁
1
0% / 0%
逾期
0
空闲
2
开发者 2
等级
(5)
项目
5
20%
仲裁
1
0% / 0%
逾期
0
繁忙
3
开发者 3
等级
项目
0
0%
仲裁
0
逾期
0
空闲

项目信息

预算
30 - 40 USD
截止日期
 3 天

客户

(2)
所下订单8
仲裁计数0