Fermé

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.

Job Description:

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.

Entry

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[1] + (high[1] - low[1])/3

signalClose = close < low[1] + (high[1] - low[1])/3

signalSize = close > open[1] and high > high[1]

previousBullish = close[1] > open[1] and close[1] > high[1]/3

// Check for the signal candle

if timeFilter and signalOpen and signalClose and signalSize and previousBullish

stopLoss = high[1] + 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)

Compétences : Pine Script, Trading

Concernant le client :
( 0 commentaires ) Hampstead, United Kingdom

Nº du projet : #35868531

10 freelances font une offre moyenne de 146 £ pour ce travail

adecrypto

Good day prospective client. I am a professional software engineer majored on the development of software/bot, for the following platforms: - MetaTrader 4,5 Indicator and Expert Advisor - Ninjatrader 7/8 indicator and Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 2 jours
(29 Commentaires)
7.1
ARrowofTime

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 7 jours
(38 Commentaires)
5.8
Samscripter

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 2 jours
(63 Commentaires)
5.5
ahmadhanabilah

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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(23 Commentaires)
5.0
bry8ted

Hello, I am a senior software developer with several years of experience with trading software. I provide individual trading software solutions across these trading platforms ; MT4/MT5, PineScript, NT8/NT7, Tradestati Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 2 jours
(15 Commentaires)
4.5
swizz101231

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 2 jours
(2 Commentaires)
4.3
sifergan

Hi I have read your job description carefully and I am interested in this project. I have more than 10 years of solid knowledge and practical experience in financial trading and trading indicators/strategies/bots devel Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(1 Évaluation)
3.9
sk10327sssk

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 2 jours
(10 Commentaires)
3.7
Dunjoye

I am a senior software developer with numerous experience from major freelancing platform like Fiverr before joining freelancer community. I hope to use my rich experience and expertise to execute various project here. Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 2 jours
(2 Commentaires)
3.0
billzbillz

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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(1 Évaluation)
2.2