Hi, thanks for looking at my project. What I need is extremely simple and will take a skilled Pine Script programmer only about 5 minutes. Ideally you could have it done today. I need a Tradingview strategy that will buy a stock when a specific price value is reached (for example, $100.00), with a stop to sell it if another price is reached (for example, $99.00). These prices are to be entered in through the strategy input box.
There will be 3 inputs: Buy price, sell stop, and initial position size.
Buy price is the price that will trigger a buy order. For example, if the buy price is 100, if the stock is at 99.5, then 99.9, then 100, when it touches 100 the strategy buy order is sent. This should be immediate, not at the end of the bar.
The sell stop is the price at which a sell order is sent. For example, if the sell stop is 99, if the stock is at 99.5, then 99.1, then 99, when it touches 99 the strategy sell order is sent. This should be immediate, not at the end of the bar.
The third input is the initial position size, which will be set to either 0 or 1. This tells the strategy whether a position already exists at the time the strategy is activated.
So for example:
If it's set to 1 (because I already hold the shares) then if the price goes down to the sell stop it will sell, because position size > 0.
if it's set to 1 and it goes up to the buy price, it won't buy because position size is already > 0.
If position size is set to 0 and it goes up to the buy price, it will buy, because position size is 0.
If position size is set to 0 and it goes down to the stop price, it won't sell, because position size is 0.
Of course, if position size is 0 and it buys, then position size becomes 1. If position size is 1 and it sells, then position size becomes 0. In this way, it can keep going forever.
The only other thing that's needed is that the prices (buy price and stop price) should be plotted as lines on the chart.
So, to give an example of how it would function when run:
The initial position is set to 1, the buy price is set to 100 and the stop price is set to 99.
The stock is at 99.5, then goes to 100. The strategy does not send a buy order because the position is already 1.
Then the stock goes to 99.5, then to 99. The strategy sends a sell order because 99 is the stop and position = 1.
The stock then goes to 99.7, then to 100. The strategy sends a buy order because the buy price is 100 and position = 0.
Another example: The initial position size is set to 0, the buy price is set to 100 and the stop price is set to 99.
The stock goes down to 99.5, then to 99. The strategy does not send a sell order because the position size is 0.
The stock then goes to 99.7, then to 100. The strategy sends a buy order because the buy price is 100 and position size = 0.
Please note: As it is written, the strategy will always lose money. That's okay. It's meant to be used as a tool for entering positions which I will close manually later.
Thanks, and please let me know if you have any questions.
Greetings.
I am working on tradingview since 5 years ago.
I have experience with Programming more than 10 years.
I have worked on similar projects to what you are looking for.
I will respect and implement your needs from day one.
I set the client priority always on top for my work
If you are not satisfied with my work, you may not pay for it.
Hello!
I am a professional strategy developer and I have been at this for 8 years plus.I have coded hundreds of EAs and profitable trading strategies. I HAVE WORKED WITH OVER 60 TECHNICAL INDICATORS, AND PSICHOLOGYCAL PATTERNS FROM SIMPLE TO MORE COMPLEX MATHEMATICAL PATTERNS LIKE GARTLEY. I also develop candlestick strategy. I prioritize each project like it is my first and last. I do not overload myself with numerous projects at a time; therefore my clients can sit back and expect only good results.
I program Robots for custom orders in
* TRADINGVIEW (PINESCRIPT & STRATEGY)
* METASTOCK
* AMIBROKER (AFL)
* TRADESTATION EASY LANGUAGE
* THINKORSWIM
* CTRADER (CONNECT API DEV., ECPLISE, INDICATOR, AND RSI TRIPLESCREEN)
* METATRADER (4 AND 5)
* NINJATRADER (7 AND 8)
* INDICATORS & TRADING ROBOTS DEVELOPMENT
* PYTHON TRADING API
* MACHINE LEARNING
* QUANTOPIAN
* QUANTCONNECT
* CALGO IN C# LANGUAGE
* SEIRRA CHART
I have developed and converted MT4->MT5 and vice-versa, convert MT4 to Ninjatrader, cAlgo, Pinescript. I am good with EAs and indicators and doing it fast and reliably. I have written my own libraries for it and currently have 4 powerful trading Cbots in my store.
Note:- This is a placeholder bid. So the Actual price and time will be given after complete discussion. Please have a quick chat discussion and let me know your thoughts.
TO HIRE ME DIRECTLY, COPY AND PASTE THE URL IN YOUR BROWSER "www.freelancer.com/hireme/samaji206"
Please contact me to discuss more about this project "Simple Tradingview Pinescript strategy".
Thanks & regards
Hello,
Pinescript expert. I am vast with coding indicator and trading strategy.
As regards your project, I will like to discuss your requirement with you.
This can be done via chat
Thank you
I am a senior software developer who has carried out many tasks related to Metatrader, Ninjatrader, Amibroker, Pinescript for Tradingview, Crypto-Trading bot, Betting bot, Telegram bot, Stock trading bots, and all other automated bots. Some of my developments include Expert Advisors for MaT4/MT5, NT7/NT8, indicators for TradingView, Sierra Chart, etc. Specifically, I can work on different currency pairs, multi-time frames, symbols, and sessions. Message me and we can further discuss your project in full detail.
Hi there,
I can work with your description of Simple Tradingview Pinescript strategy that you have provided including Pine Script . I am a full stack developer with 4+ years of experience in both front-end and back-end development and have a good team of developers that have a fine experience in every niche available in Software Development in the market. I am a full time freelancer and believe that I can pull it off once awarded and provided with detailed requirements from your side.
Hoping to hear from you soon take care.
Regards
Rashid Amjad