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