指定
I need a script to place pending orders and market orders with stop loss and take profit.
there are two method of counting lots: fixed size or as a percentage loss of account value. that is, the transaction should not lose more than a certain percentage of the account.
orders are sent based on the prices of the last closed candle.
so we have to count range of candle as difference betwwen its high and low.
we also have two numbers parameters A and B.
so for buy stop will be high price last closed candle + A, stop loss will be low price last closed candle - B
for sell stop will be low price last closed candle - B, stop loss will be high price last closed candle + A
and i want to have possibiity do send market orders with stop loss counting like for pending orders.
i need te panel on the chart do modify parameters A and B, multiplier for take profit and buttons for pending orders and market orders.
if sending orders is above the current price i want to decide if it will buy stop or sell limit, if the price for sending is below current proce i want to decide if it will be sell stop or buy limit
take profit is stop loss multiplied by the number
there are two method of counting lots: fixed size or as a percentage loss of account value. that is, the transaction should not lose more than a certain percentage of the account.
orders are sent based on the prices of the last closed candle.
so we have to count range of candle as difference betwwen its high and low.
we also have two numbers parameters A and B.
so for buy stop will be high price last closed candle + A, stop loss will be low price last closed candle - B
for sell stop will be low price last closed candle - B, stop loss will be high price last closed candle + A
and i want to have possibiity do send market orders with stop loss counting like for pending orders.
i need te panel on the chart do modify parameters A and B, multiplier for take profit and buttons for pending orders and market orders.
if sending orders is above the current price i want to decide if it will buy stop or sell limit, if the price for sending is below current proce i want to decide if it will be sell stop or buy limit
take profit is stop loss multiplied by the number
反馈
1
等级
项目
980
47%
仲裁
32
38%
/
34%
逾期
96
10%
工作中
发布者: 6 代码
2
等级
项目
521
47%
仲裁
29
10%
/
45%
逾期
139
27%
工作中
3
等级
项目
0
0%
仲裁
0
逾期
0
空闲
4
等级
项目
1039
44%
仲裁
50
8%
/
50%
逾期
116
11%
空闲
5
等级
项目
34
26%
仲裁
7
14%
/
43%
逾期
7
21%
空闲
项目信息
预算
30+ USD