Zigzag, with all the bells & whistles

MQL4 Indicators Experts C++ C# Forex

Specification

*UPDATE* Sept2,2019 - It has just come to my attention that MQL5 is currently not hosting Paypal, the other methods are not available to me. I will repost this as soon as I can fund my account* Thank you to all that have requested the job

ZIGZAG, with all the bells and whistles. Actually, this might be a combination of Indicator coding & EA? I don't know, that's why I need your help :) input is appreciated. If my directions get confused and messy, keep in mind and come back to the idea that at it's heart this is only a ZIGZAG that AUTO-opens & AUTO-closes when indicators appear -- EVEN THE REDRAWS (this is the new part, mostly). ALL of the rest of this is just trying to explain this simple thing in more detail.
*****************************
Directions/Details:

-- It should be made clear that all of the coding changes are driven BY THE INDICATOR "ZIGZAG.mq4" as is. Do not change the basic functionality of the indicator. I want this indicator to function as it currently does but then also the added NEW FUNCTIONS. For example, WHEN IT DOES REDRAW/REPAINT as currently coded for THEN do the things below, but do not teach the software a different algorithm to redraw/repaint. Please keep an open communication with me.

(A) Most importantly, I need this indicator to be able to AUTOMATICALLY place and close orders, EVEN WHEN IT REDRAWS/REPAINTS. (It must also include the ability to MANUALLY exit out of/close orders at any time, I don't want to be locked in a bad order)
    3 TYPES:
        (A1) IF it's NOT A REDRAW/REPAINT THEN BUY if at a LOW, SELL if at a HIGH. The normal function of ZIGZAG, nothing different here, I just want orders to be placed now when it does its thing.   
        -OR-
        IF it IS a REDRAW/REPAINT line (as ZIGZAG does REDRAW, and I'm fine with this) then place the same type of order it had previously. For example:
        (A2) If the last line to draw was a BUY indicator (a DOWNWARD pointing zigzag line) and it REDRAWS/REPAINTS LOWER; then close the last order, place          another buy, close the order, place another buy, close, etc. as long as it REDRAWS in that downward direction AS LOWER LOWS, THEN switch back to normal           operations (*A1) when sell indicator (UPWARD pointing zigzag line) appears, or
        (A3) if that last line to draw was a sell indicator (an UPWARD pointing zigzag line) and it REDRAWS/REPAINTS HIGHER; then close the last order, place            another sell, close the order, sell, close etc. as long as it REDRAWS in that upward direction as a HIGHER HIGH, THEN switch back to normal                operations (*A1) when buy indicator (a DOWNWARD pointing zigzag line) appears

    (AA) This is mostly just an extension/recap of *(A) with emphasis on the sequential closing of orders: I need it to SEQUENTIALLY --> FIRST close the original order, THEN SECOND place the NEXT order; I do not want to be doubling up on orders, or chasing pips, or hedging, and no Martingale strategies here. Only ever ONE open order per chart via the Indicator/EAbot, **although I still want the ability to place individual orders on the same chart not affiliated with the indicator/EA bot**
            So:
            -- IF NOT A REDRAW --> buy/close/sell/close/buy/close/etc, or
            -- IF it continues to REDRAW in the same direction --> buy/CLOSE/buy again/CLOSE/buy again/etc. until zigzag sell signal; -or- sell/CLOSE/sell                    again/CLOSE/sell again/CLOSE/etc. until zigzag buy signal

(B) The indicator will now keep all lines. ZigZag currently deletes/hides the old lines when it REDRAWS/REPAINTS. I don't care if it Redraws, in fact I want it to, but I don't want it to delete/hide the old lines when it does redraw/repaint. WE ARE DONE WITH THE OLD REPAINT/REDRAW lines, they will do nothing more for us in our coding beyond being visible (and/or whatever else they are already coded for that I'm not aware of)... but I still want to be able to see all the old lines (as well as the new) -- or at least be able to see where they were: so if there is an easier way to indicate where the old high & lows were without keeping old painted lines, like a SYMBOL at the old HIGH/LOW positions instead of the old lines that will probably be fine. I would prefer to see the lines though, and it seems like that would be easier in coding to just NOT delete them. *see (G) for color options

(C) All orders will be AUTOMATIC & SAME LOT SIZE as the order preceding it--> until MANUALLY changed (change occurs upon next automatically opened order). This indicator/EA will run continually so I want to be able to step in and tell it that ALL NEW ORDERS will be the NEW LOT SIZE (bigger or smaller)... until I MANUALLY change it again. If I have to turn off the indicator to accomplish this, and reset my order size manually then turn it back on, so be it. but I'd rather it be automatic & adjustable as we go, without turning off the system.  (again, with the ability to MANUALLY exit out of/close the orders at any time)

(D) ALL REDRAW/REPAINT lines will now ALERT (via text, email, popup, etc.), like the normal ZIGZAG lines do, and I would like to be able to toggle each option on/off (because I'm in a work environment that I'm not sure which will be useful to me). Currently Zigzag deletes the old lines and doesn't seem to alert to the new redraw.

(E) Please add a pip count (indicates vertical line length = number of pips high --> low, or low --> high) *I uploaded another indicator ZIGZAGwithValue as an example

** NOT NECESSARY, but if possible:

(F) If we make it this far without pushing the deadline (which I'm not stuck to if I can see we are making actual progress), I would love to be able to toggle ONLY buy or ONLY sell orders on/off, so it would only automatically place one type of order, both, or both off... but not a deal breaker if this is too difficult for the arranged project fee

(G) would like the ability to change line-type colors, have redraw lines (or the redraw symbols) be one color, and normal new high/low lines be another color. The line/symbol colors can all be the same, this is not a deal-breaker either. If we aren't pushing the deadline and all the rest of it was easy to code, then please throw this one in too :)

************************************************
-- I have included several files. One picture "CHART1.png", attempting to visually describe all I've said above, and some examples of ZigZag indicators maybe you can pull some code from? Use the "ZIGZAG.mq4" as a base code and any other indicators you please as reference.

-- As this website offers prototype models to be exchanged, the only prototype I'm interested in will have to include at least THIS step [*A in it's entirety -OR- *A2 or *A3]. I feel like the rest of it are little tweaks to the coding, but this step is the entire reason for creating a new indicator/EA, and I've had issues in the past with coders claiming they could do it & doing many of the other steps, but never completing THIS one. Include this step in your prototype.

-- Before you accept the project, I'm open to conversations about if any of these things listed can or can't happen and/or what other options we might have available to get the same effect... but if you claim it definitely can happen during negotiation (not discussing it constitutes an assumption it can & will be included in the final product) and it doesn't get included in a timely manner (to be negotiated) that is agreed upon by both parties, then you forfeit your contract, payment is null/void. Fee & Deadline are negotiable, deadline may be extended if you can show me we ARE making progress AND you will actually complete -- but Fee to be negotiated up front.

-- I do want a copy of the new source code.

THANK YOU for taking the time to read this and considering my proposal

Files:

PNG
chart1.PNG
105.1 Kb
MQ4
ZigZag.mq4
8.3 Kb

Responded

1
Developer 1
Rating
(361)
Projects
644
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
2
Developer 2
Rating
(84)
Projects
149
31%
Arbitration
32
34% / 41%
Overdue
43
29%
Free
3
Developer 3
Rating
(16)
Projects
21
19%
Arbitration
7
0% / 71%
Overdue
14
67%
Free
Similar orders
i need some tradingview strategy that i want to use as a tester, i have something that i am working on currently and i need someone that can provide me with tradingview strategies that doesn't have a win rate, the one with 1:1 RR it need to have low win rate like 10% or 5% profitability, i am not paying $30 for,i dont have up to that for this cause i only want to use it as a test, if anyone have any to send me please
hello i need help building a ea bot for mt5 and i have started on claude but i will need someone if a incredible experience to make my ideas come to live. please contact so we can schedule a quick call and i can share anything that concerns you for the task
I am looking for someone with real experience developing strategies, indicators, or trading tools for Quantower . The strategy itself is relatively simple. The main issue is that I need to use some of Quantower's functions and API capabilities to program the strategy, but there is limited documentation available for some of the functionality, and I do not have enough time to fully understand the API and implement
These are orderflow footprint indicator I would like to know if you can algorithmisie and build a stacked imbalance bot from them .. Kindlt let me know if you can do it and check the file before replying me
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hi i need help to connect my chat gtp with ninja trader I have all tools. Just need supervision and seeking a professional who can do that for me. This the bridge extension https://crosstrade.io/blog/chatgpt-to-ninjatrader-mcp-walkthrough
I am looking for a professional developer with proven experience in NinjaTrader/NinjaScript and TradingView/Pine Script . Please only contact me if you have actual experience developing trading strategies for these platforms . I am not looking for inexperienced developers or generic/template solutions. I will provide the additional examples and detailed strategy requirements to the selected developer. If you have the

Project information

Budget
50 - 200 USD
Deadline
from 5 to 30 day(s)