Strategy modification in pine script

입찰 받는 중 등록 시간: 14 시간 전 착불 종료 시점: 6 일
입찰 받는 중 착불 종료 시점: 6 일

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

프로젝트 ID: #38971308

프로젝트 소개

8 건(제안서) 공개 입찰 중 재택 근무형 프로젝트 서비스 이용 중: 1시간 전

이 일자리에 대한 프리랜서 8 명의 평균 입찰가: ₹6688

deepgovindbusin

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

₹7000 INR (1일 이내)
(60 리뷰)
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 기타

₹3000 INR (1일 이내)
(48 리뷰)
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 (1일 이내)
(16 리뷰)
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 기타

₹12500 INR (5일 이내)
(1 리뷰)
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 기타

₹7000 INR (3일 이내)
(0 리뷰)
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 기타

₹7000 INR (7일 이내)
(0 리뷰)
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 (7일 이내)
(0 리뷰)
0.0