Ditutup

Pine Script code edit

Hi all, I just need a pine script coder that changes my strategy script qty parameter to qty_percent;

As you can see at the below, it is only buying 2 contract and selling one by one on the target1 and target2.

So I need to change it that it will enter the position with % of my initial capital in settings as in the attached image.

Here is part of the code that needs to be change;

counter=0

bar_entry=0

if counter[1]!=0

counter:=counter[1]

if bar_entry[1]!=0

bar_entry:=bar_entry[1]

if (buy) and strategy.position_size==0

[login to view URL](bar_index,low, text = "Buy", size=[login to view URL], style = label.style_label_up)

[login to view URL]("Buy", true,2)

[login to view URL]("T1", false,qty=1, limit = bT1,oca_name='Long',oca_type=[login to view URL])

[login to view URL]("T2", false, qty=2, limit = bT2,oca_name='Long',oca_type=[login to view URL])

[login to view URL]("Stop_Loss buy", false, stop=Stopbuy,qty=2, oca_name='Long', oca_type=[login to view URL])

bar_entry:=bar_index

[login to view URL](bar_index[4], buy, text="+ Buy: " + tostring(abc),style = label.style_label_left,textcolor = [login to view URL], color = [login to view URL]([login to view URL], 100))

[login to view URL](bar_index[4], T1, text="+ T1: " + tostring(T1),style = label.style_label_left,textcolor = [login to view URL], color = [login to view URL]([login to view URL], 100))

[login to view URL](bar_index[4], T2, text="+ T2: " + tostring(T2),style = label.style_label_left,textcolor = [login to view URL], color = [login to view URL]([login to view URL], 100))

[login to view URL](bar_index[4], Stopbuy, text="- SL: " + tostring(Stopbuy),style = label.style_label_left,textcolor = [login to view URL], color = [login to view URL]([login to view URL], 100))

Kemahiran: Ujian Perisian, Kejuruteraan Perisian, Pine Script

Lihat lagi: code edit php script, pine script, pine script metatrader, I would like to turn the pine script into a MT4 automated, pine script strategy, pine script crossover, pine script if statement, pine script series, pine script vs python, pine script volume, pine script plot, pine script wiki, pine script indicator, tradingview pine script examples, tradingview pine script code, pine script source code, pine script code, convert vba code to pine script, pine script coder, pine script rsi code

Tentang Majikan:
( 14 ulasan ) Erzincan, Turkey

ID Projek: #31869542

4 pekerja bebas membida secara purata $62 untuk pekerjaan ini

machexport

Hi, I can help you edit the script as required. Here's the link to my portfolio https://www.freelancer.com/u/machexport Let's discuss and move ahead with this project. Thank you

$30 USD dalam 3 hari
(2 Ulasan)
5.9
HarjitHundal91

Work can be done Anything in the pinescript can be coded just need a good description of the concept Bid Price and Duration to Complete the Project Will be Revised after getting Full Description of the Project Res Lagi

$123 USD dalam 7 hari
(60 Ulasan)
6.0
(15 Ulasan)
5.0
irisnet3455

Hello Following my experience in its types of projects, I will correct the script for you Suite à mon experience dans ses types des projets , je vous corriger le script

$20 USD dalam sehari
(0 Ulasan)
0.0