Strategy modification in pine script

Open Posted 13 hours ago Paid on delivery Ends in 6 days
Open Paid on delivery Ends in 6 days

I have a strategy which i use for auto trading, it works continuously , if a long entry comes , it will trade in long until any short arises, if short entry comes , it exits long and enters short immediately. I want to enable pyrammiding function on my algo , but i want different alerts for pyrammiding , for examplae, if i set pyrammidng to 3, then consider that stock is going up , so it buys 1 quantity , then again 1 , then again 1 , so now it has 3 lots , but when short trade comes immedietly , it exit 3 lots and enters 1 lot of short position , so i need you to do such modifications in alerts and {quantity} parameters.

Pine Script Trading

Project ID: #38971308

About the project

8 proposals Open for bidding Remote project Active 53 mins ago

8 freelancers are bidding on average ₹6688 for this job

deepgovindbusin

Hi, I can do it and if you find any problem in my code then you can message me any time.

₹7000 INR in 1 day
(60 Reviews)
5.5
Iwori

Hi. I am a professional coder in the development of Bots, Indicators and Scripts for TradingView and MT4/MT5, and I already did similar projects to this job successfully. Please let us talk about the details of the job More

₹3000 INR in 1 day
(48 Reviews)
5.4
ducthodg

hi. i am pinescirpt expert. i have read the requirement carefully and can complete it early today for 3000 INR for you. please open a chat with me. i am ready to do this right now for you. thank you

₹3000 INR in 1 day
(16 Reviews)
4.4
loxtic

Hello, how are you doing? I have considerable experience with algorithmic trading and have successfully implemented strategies incorporating layering and alert customizations. I have deployed multiple projects using pl More

₹12500 INR in 5 days
(1 Review)
2.2
maksymh825

Hi, Your strategy is easy to do with just one state variable for long or short position. If var is 1, then it means long and if short signal triggered, close long and open short. And pyramid function is also possible w More

₹7000 INR in 3 days
(0 Reviews)
0.0
ranarohit248

Adaptable and client-focused freelance stock trader with a passion for navigating the complexities of the financial markets. Experienced in tailoring trading strategies to meet specific client objectives and risk toler More

₹7000 INR in 7 days
(0 Reviews)
0.0
AnthonGF

Hi, We can setup the pine script code in a way where the algorithm enters the market gradually after it closes the opposite direction trades instead of entering with big lots.

₹7000 INR in 7 days
(0 Reviews)
0.0