Specification

i want  devloper to create indicator i have the script from https://usethinkscript.com/ i want to be create in mt4 

# DESCRIPTION # This study plots H1, H2, etc. and L1, L2, etc. labels above or below # those signal bars based on Al Brooks' description of the setups. # DECLARATIONS declare upper; # USER INPUTS input resetCountOnDTorDB = yes; input barsBack = 10; # DEFINITIONS AND CALCULATIONS ## Variable List def isFlatTopSBEligible; def isBullSB; def lastBullSBLow; def isHBar; def lastHBarLow; def isPushUp; def lastPushUp; def resetHCount; def isHCountStillReset; def hCount; def isFlatBottomSBEligible; def isBearSB; def lastBearSBHigh; def isLBar; def lastLBarHigh; def isPushDown; def lastPushDown; def resetLCount; def isLCountStillReset; def lCount; ## Standard variable calculations ### H Counting isFlatTopSBEligible = fold hFold = 1 to barsBack with dt = Double.NaN while IsNaN(dt) do if GetValue(high, hFold) == high then Double.NaN else if GetValue(high, hFold) > high then yes else no; isBullSB = (high[1] > high and high[-1] > high) #Standard bull SB or (isFlatTopSBEligible and high[-1] > high); #DT to the left lastBullSBLow = if isBullSB then low else lastBullSBLow[1]; isHBar = (low < lastBullSBLow[1] and isBullSB) or (isBullSB and isHCountStillReset); lastHBarLow = CompoundValue(1, if isHBar then low else lastHBarLow[1], low); isPushUp = if isHBar then yes else if isPushUp[1] and high >= high[1] then yes else no; lastPushUp = if isPushUp[1] and !isPushUp then high[1] else if high > lastPushUp[1] then high else lastPushUp[1]; resetHCount = high > lastPushUp[1] or ( resetCountOnDTorDB and high == lastPushUp[1] ); isHCountStillReset = if !isBullSB and resetHCount then yes else isHCountStillReset[1]; hCount = CompoundValue(1, if isHBar and !resetHCount then hCount[1] + 1 else if resetHCount then 0 else hCount[1] , 0); ### L Counting isFlatBottomSBEligible = fold lFold = 1 to barsBack with db = Double.NaN while IsNaN(db) do if GetValue(low, lFold) == low then Double.NaN else if GetValue(low, lFold) < low then yes else no; isBearSB = (low[1] < low and low[-1] < low) #Standard bear SB or (isFlatBottomSBEligible and low[-1] < low); #Db to the left lastBearSBHigh = if isBearSB then high else lastBearSBHigh[1]; isLBar = (high > lastBearSBHigh[1] and isBearSB) or (isBearSB and isLCountStillReset); lastLBarHigh = CompoundValue(1, if isLBar then high else lastLBarHigh[1], high); isPushDown = if isLBar then yes else if isPushDown[1] and low <= low[1] then yes else no; lastPushDown = if isPushDown[1] and !isPushDown then low[1] else if low < lastPushDown[1] then low else lastPushDown[1]; resetLCount = low < lastPushDown[1] or ( resetCountOnDTorDB and low == lastPushDown[1] ); isLCountStillReset = if !isBearSB and resetLCount then yes else isLCountStillReset[1]; lCount = CompoundValue(1, if isLBar and !resetLCount then lCount[1] + 1 else if resetLCount then 0 else lCount[1] , 0); # Calculate the day's opening price def openPrice = if GetDay() != GetDay()[1] then open else openPrice[1]; # PLOTS plot hSetup = if hCount <> hCount[1] and hCount <> 0 and close > openPrice then hCount else Double.NaN; plot lSetup = if lCount <> lCount[1] and lCount <> 0 and close < openPrice then lCount else Double.NaN; # GLOBAL COLOR DEFINITIONS DefineGlobalColor("Blue" , CreateColor(33, 150, 243)); DefineGlobalColor("Green", CreateColor(0, 155, 0)); DefineGlobalColor("Red", CreateColor(225, 105, 105)); DefineGlobalColor("Gray", CreateColor(181, 181, 181)); DefineGlobalColor("White", CreateColor(255, 255, 255)); # FORMATTING hSetup.SetPaintingStrategy(PaintingStrategy.VALUES_BELOW); hSetup.SetDefaultColor(GlobalColor("Green")); hSetup.SetLineWeight(2); hSetup.HideBubble(); lSetup.SetPaintingStrategy(PaintingStrategy.VALUES_ABOVE); lSetup.SetDefaultColor(GlobalColor("Red")); lSetup.SetLineWeight(2); lSetup.HideBubble();


Responded

1
Developer 1
Rating
(9)
Projects
8
50%
Arbitration
6
17% / 50%
Overdue
2
25%
Free
2
Developer 2
Rating
(390)
Projects
416
30%
Arbitration
74
19% / 72%
Overdue
52
13%
Working
3
Developer 3
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
5
Developer 5
Rating
(12)
Projects
9
33%
Arbitration
11
0% / 100%
Overdue
2
22%
Free
6
Developer 6
Rating
(7)
Projects
6
33%
Arbitration
7
0% / 71%
Overdue
0
Free
7
Developer 7
Rating
(322)
Projects
499
67%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
Published: 8 codes
8
Developer 8
Rating
(27)
Projects
48
38%
Arbitration
6
17% / 50%
Overdue
30
63%
Free
Published: 12 articles, 1 code
Similar orders
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
Bring in your expertise for specific symbol Prepare expert for Live chart Creating .set for specific symbol Live Chart Optimization , symbol specific Everything is coded already therefore needs Implementations
The basic idea of CRO is to simulate coral colonies that develop and compete for space on a reef, ultimately forming an optimal structure. Each coral in the reef represents a potential solution to the optimization problem under consideration. The reef is modeled as a two-dimensional N×M grid. Each grid cell can either be occupied by a coral or left empty. A coral is a coded solution to an optimization problem. For
Hi everyone, I am hoping that you would be able to help me with possibly an easy fix. I have exhausted all avenues to try and optimise a 3 min US100 / USTEC and convert from line script to MQL5 so I can automate through MT5. The trades are not correlating and there is a clear consistent discrepancy of approximately 123 minutes between a significant number of trades when comparing the same time period. I really hope
Mk 30+ USD
I need a fully automated trading robot designed to generate consistent profits while strictly controlling risk and minimizing losses. The robot should use a combination of strategies, including trend-following, scalping, and price action, and must be able to adapt to different market conditions such as trending and ranging markets. It should analyze the market using indicators like Moving Averages, RSI, MACD, and
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot

Project information

Budget
50+ USD