I need a pinescript developer to help me finish this trading bot strategy, Pretty sure it's just a few syntax errors but it just isn't working in trading view please help.
Orçamento £20-250 GBP
Trading Strategy is called Follow the Bear and only works on GBP/USD, EUR/USD pairs and only when each candle represents an hour.
Signal candle Can Only be identified between 5am and 10 am GMT.
Signal Candle must be larger than the candle behind it and have a higher high and higher close. The signal candle must Open and close within the lower 1/3 of the body.
1) IF Signal Bar is spotted from 5am to 10am GMT (a Pin bar which can be green or red with an open or close within the lower third of the body. Needs to be a larger candle than the candle prior to it
THEN Check to see if there is a bullish candle before it with a higher close and a higher high closing in the top 1/3 of the candle (green). Also Signal Candle must be larger than the candle behind it and have a higher high.
2) IF above is true
THEN place a Stop Sell order 1 pip below the low of the Signal candle. Initial Stop Loss is placed 1 ATR above the high of the Signal candle.
3) IF order is not filled after 1 hour
Then remove order
Target 1 – Place a trailing stop after 4 candles (if lower price)- 1 ATR above the high of the 4th candle. The first candle is the signal candle in this counting
Enter a second position of the same amount as position 1 if the entry signal is at major structure so a previous major or major low on the daily time frame or ata major Fibonacci retracement level from a previous major high to a previous major low. The entry for this position will be the same as position 1 but will have a permanent stop loss at 1 ATR above the signal candle.
Position 2 will be exited when price moves above the previous outside return on the daily time frame. Explain in detail the code for this part so I can ensure that you are doing it correctly.
Also to put a circle each signal candle which is valid so I can check that you have chosen the right entries and exits. To Put a square around the trades which included a second position also.
// Define the time filter
timeFilter = time >= 50000 and time <= 100000
// Define the conditions for the signal candle
signalOpen = open < low + (high - low)/3
signalClose = close < low + (high - low)/3
signalSize = close > open and high > high
previousBullish = close > open and close > high/3
// Check for the signal candle
if timeFilter and signalOpen and signalClose and signalSize and previousBullish
stopLoss = high + atr(14)
stopSell = low - 1
// Place the stop sell order and set the initial stop loss
[login to view URL]("Sell", [login to view URL], stop=stopSell, stop_loss=stopLoss)
// Remove the order if not filled after 1 hour
[login to view URL]("Cancel", "Sell", when=strategy.position_age > 3600)
// Trail stop after 4 candles (if lower price)
[login to view URL]("Trail", "Sell", stop=strategy.position_avg_price - atr(14), when=strategy.position_age >= 4 * 60)
// Circle the signal candle if the conditions are met
plot(timeFilter and signalOpen and signalClose and signalSize and previousBullish, style=plot.style_circles, color=[login to view URL], size=[login to view URL])
// Square the trade that includes a second position (not implemented in this code)
10 freelancers estão ofertando em média £146 nesse trabalho
Please check my portfolio I can do: Indicator/strategy Backtesting: Spot, margin, combined spot and margin, leverage, liquidation, partial order… Visualization Alerts Multiple indicators in one indicator Make ch Mais
I am an expert in the development of trading strategies and indcator for tradingview platforms. i am doing pine script coding past 3yr and doing trading past 5 yr .. Over the period of a decade, I have developed hundr Mais
Hello buddy, i can see what's the issue on your script.. and i also can make sure, that the features you want will work perfectly.. let me know if you have anything else :). anyway, feel free to message me anytime, i Mais
have expertise with Metatrader, Tos, Ninjatrader, Tradingview, AFL, trader, Crypto-Bot development over ten years. I have already done 200+ projects with several clients all over the world. My best skill is the willing Mais
Greeting of the day! Hi, I have read your requirement and It's my pleasure to work for you, I would like to discuss this in detail. I am a professional Pinescript/AFL developer 4 years of experience in ALGO developmen Mais
Hello, good day. This is Bill from Beijing, China. I work on MT4/5 and Tradingview. I can help you fix compilation errors and make code working. Feel free to contact me and talk in detail. Bill