Job finished
Execution time 9 days
Feedback from customer
A pleasure to work with, very patient and understanding & would have no problem working with Maxwell again.
Feedback from employee
I appreciate and am honored working with you. I look forward to more endeavors.
Thank you.
Specification
I have an algorithm which is based on candlestick formations - specifically the hammer candle formation.
Previously, the algorithm only executed short positions on bearish hammers & long positions on bullish hammers.
Now, however, I'm wanting to introduce inverse hammers, but keeping the wicks in the same positions (i.e., extended lower wicks for short positions and extended upper wicks for long positions)
It's not so much the interpretations of the global & local declarations themselves that are the issue, but it's the placement of the brackets that needs to be altered, as well as maybe introducing the "OR" or "ELSE IF" logic but I'll leave that up to you.
The instructions I'm needing it to follow - in layman’s terms - is the following:
"If '(BarTime != Time[0])' is true,
then assess if '(hammerHeadClose < hammerHeadOpen)' is True.
If (hammerHeadClose < hammerHeadOpen) is True, then assess if all of it's child statements are true.
If all of its child statements are also True, then execute a position.
Alternatively (OR/ELSE IF) if '(hammerHeadClose > hammerHeadOpen)' is true,
then assess if all of it's child statements are true.
If all of its child statements are true, then execute a position”.
Therefore, if(BarTime != Time[0]) must always be TRUE, but dependant on weather '(hammerHeadClose < hammerHeadOpen)' or '(hammerHeadClose > hammerHeadOpen)' will determine which set of child statements will be assessed to determine if a poition should be open.
Obviously (hammerHeadClose > hammerHeadOpen) & (hammerHeadClose < hammerHeadOpen) are mutually exclusive criteria (the closing price can either be above the opening or below the opening - doji's aren't allowed), there is no point in the EA assessing the child statements under (hammerHeadClose > hammerHeadOpen) when (hammerHeadClose < hammerHeadOpen) and visa-versa.
To put it another way "if(BarTime != Time[0]), assess "if(hammerHeadClose > hammerHeadOpen)".
If "if(hammerHeadClose > hammerHeadOpen)" is FALSE (for example), go straight to if(hammerHeadClose < hammerHeadOpen) and assess all child statements here".
I hope this helps, if you need any clarification, let me know.
The code in question is on line 315 (short position criteria) and line 795 (long position criteria).
I have enclosed documentation for the EA which includes the explanations to the Global Declarations which you will come across.
if(BarTime != Time[0]) { if((hammerHeadClose < hammerHeadOpen) && (bearHammerHead >= Transform(candleBodyLength,2)) && (bearHammerHandle!=0 && (bearHammerHead / bearHammerHandle) <= hammerHandlePct) && (bullRetracementCandle!=0 && (bearHammerHead / bullRetracementCandle) <= hammerHeadPct) && (bullRetracementCandle!=0 && (initialTrendBearCandle / bullRetracementCandle) <= retracePercentage) && (bullRetracementCandle >= Transform(candleBodyLength,2)) && (trendFast < trendSlow) && (momentumFast < momentumSlow) && (NewBar) && (spread <= MaxSpread) && (hourOfDay >= startingHour && hourOfDay < endingHour) && (OrdersTotal()== 0)) if((hammerHeadClose > hammerHeadOpen) && (bullHammerHead >= Transform(candleBodyLength,2)) && (bearHammerHandleInv!=0 && (bullHammerHead / bearHammerHandleInv) <= hammerHandlePct) && (bullRetracementCandle!=0 && (bullHammerHead / bullRetracementCandle) <= hammerHeadPct) && (bullRetracementCandle!=0 && (initialTrendBearCandle / bullRetracementCandle) <= retracePercentage) && (bullRetracementCandle >= Transform(candleBodyLength,2)) && (trendFast < trendSlow) && (momentumFast < momentumSlow) && (NewBar) && (spread <= MaxSpread) && (hourOfDay >= startingHour && hourOfDay < endingHour) && (OrdersTotal()== 0)) { bool OpenShort = OrderSend(.....); /*----------code----------*/ /*----------code----------*/ /*----------code----------*/ } }
Responded
1
Rating
Projects
204
30%
Arbitration
25
40%
/
44%
Overdue
12
6%
Free
2
Rating
Projects
4
0%
Arbitration
2
0%
/
100%
Overdue
1
25%
Free
3
Rating
Projects
239
70%
Arbitration
3
67%
/
33%
Overdue
20
8%
Free
4
Rating
Projects
310
34%
Arbitration
61
34%
/
38%
Overdue
100
32%
Busy
5
Rating
Projects
472
40%
Arbitration
103
40%
/
23%
Overdue
78
17%
Busy
Published: 2 codes
6
Rating
Projects
11
18%
Arbitration
0
Overdue
3
27%
Free
7
Rating
Projects
47
30%
Arbitration
12
17%
/
75%
Overdue
6
13%
Free
Similar orders
OrderBlocks.All-in-One The OrderBlocks.All-in-One Indicator for MT4 identifies and plots unmitigated, mitigated, and breaker order blocks on the chart. It offers a clear view of market structure by displaying these blocks as colored rectangular areas with labels, helping you identify potential reversal and continuation zones. Order Blocks were originally introduced by the ICT community and have since become a popular
Fix the errors of this bot
30+ USD
Hello, I need some expert who can hlep me fix the errors of this bot that will work normally ba check the bot file, error messages, and any specific issues you are currently facing so you can get started
Brilliant reversal indicator
30+ USD
I want this indicator on my mt5 account and mt4 account because I want use this brilliant reversal indicator on my Android device each an every time when I enter on my mt5 account
I am looking for an experienced MQL5 developer to build an Expert Advisor for MetaTrader 5 based on a dynamic Support & Resistance strategy from TradingView. Requirements: Pivot-based support and resistance detection Volume-filtered zones ATR-based dynamic zone width Levels must update automatically over time Buy at support holds Sell at resistance holds M1 timeframe execution Configurable SL/TP and lot settings
Would it be possible to connect Futures prop firm with Rithmic or Tradeovate platform to Ninjatrader automated trading ? If anyone can do this for me I will be happy to get started with the person right away
I have a open source Tradingview indicator that I want it to be converted to Ninja Trader8. I have attached it. Please let me know, if you can do it and for how muc
Momentum indicator
100+ USD
Looking for a momentum indicator that will show when market has momentum and is making the big moves will want to see screenshots of it before deposit so I know what I'm paying for. Of thr developer can bring a good strategy for the indicator I'll refer him other jobs and other traders. Please don't apply and than dissappear apply and tell me your approach to tackling this project
I need help in modifying an amibroker AFL indicator the indicator already works but I need per symbol static variable isolation, parameters persistence per symbol after restart, non declining trailing stop logic, parameter auto restore when switching symbols and a global reset function for static variables. For better understanding As discussed, this is the official offer for restructuring my RAD Chandelier stop loss
Tradingview chart setup
30+ USD
Hi , I have some indicators that I want set up on my TV chart and want to create one chart for some and another chart for some others. Plus I want to set up the brackets orders so I can trade from the chart. I have these set up somewhat but need it cleaned up and the way I want them. how much would something like this cost to do? I'm in California and would like you to show me so I can learn to do this when I want to
I would love to see most of my trades going well being in profits! & keep consistent trading without having to blow any accounts be able to identify right trades and have good trading strategy
Project information
Budget
30+ USD