Re: XARD - Simple Trend Following Trading System
Posted: Sat Nov 05, 2022 7:24 am
Have a great weekend everyone.
Xard777
Xard777
Hello, can you modify this ZZ into two-color lines? Buy - color. Sell - color. If possible, please. Thank you.FourXXXX wrote: Sat Nov 05, 2022 6:50 am This version of the ZZ indicator I made has a button to hide it and you can change all the settings. Also gives alerts on a new ZZ line/semaphore, you can load it multiple times with different settings to match the different semaphores.
I also agree with the idea88FX88 wrote: Sat Nov 05, 2022 7:38 am Hello, can you modify this ZZ into two-color lines? Buy - color. Sell - color. If possible, please. Thank you.
Thanks Mr Fourxxx i try itFourXXXX wrote: Sat Nov 05, 2022 6:50 am This version of the ZZ indicator I made has a button to hide it and you can change all the settings. Also gives alerts on a new ZZ line/semaphore, you can load it multiple times with different settings to match the different semaphores.
this is better
It's recommended to wait for the candle color change because it's not the goal to time every turnaround perfectly. Your questioned entry would have worked out, but you will end up finding more early (too early) entries and either losing or missing out on pips. All you need is the meaty part of the confirmed candle colors and never forget that patience can (and will) be one of your main tools/assets. Let all of these awesome indicators and templates help open that door.
A Nuclear switch is possible but Chicken Switch closes all trades that are the same symbol as the chart it was executed on.Woodyz wrote: Sat Nov 05, 2022 2:27 pm A quick & probably dumb question to clarify the use of Xards Buy, Sell, Close Scripts before next week's trading.................
Open a trade ............. I.e., "alt B or S" A Buy or Sell trade is opened using the lots set in the MT4 platform?
The Chicken Script closes all opened trades for the pair or closes all pairs with open trades across the platform?
Also is there anything else I really need to know?
Code: Select all
//+---CLOSE ALL OPEN TRADES ON SELECTED CHART------------------------------------------------------------------------+
if (OrdersTotal() == 0) return(0);
for (int i = OrdersTotal() - 1; i >= 0; i--){
if (OrderSelect (i, SELECT_BY_POS, MODE_TRADES) == true){
if (OrderType() == 0 && OrderSymbol() == Symbol()){
ticket = OrderClose (OrderTicket(), OrderLots(), Bid, 3, CLR_NONE);
if (ticket == -1) Print ("Error: ", GetLastError());
if (ticket > 0) Print ("Position ", OrderTicket() ," closed");}
if (OrderType() == 1 && OrderSymbol() == Symbol()){
ticket = OrderClose (OrderTicket(), OrderLots(), Ask, 3, CLR_NONE);
if (ticket == -1) Print ("Error: ", GetLastError());
if (ticket > 0) Print ("Position ", OrderTicket() ," closed");}}}