HI
Why
support = 10000;
resist = 0;
?
Can I change the VALUE ? During the test results are excellent but when test stops the loss is very big and the final result is VERY BAD. How can I optimize your Expert Advisor by changing the paramteres in MQL code ?
Regards,
Puncher
Why
support = 10000;
resist = 0;
Support and resist changes their values.
Support = the lowest price from numBars bars prices.
Resist = the highest price from numBars bars prices.
numBars - optimization param.
--
Problem with stops is solved easily by changing this part of code in function MarketAnalize:
support = 10000; resist = 0; for(int k = 1;k<=numBars;k++) { if(support>iLow(Symbol(),0,k)) support = iLow(Symbol(),0,k); if(resist<iHigh(Symbol(),0,k)) resist = iHigh(Symbol(),0,k); }
Sorry, bad english, i'm from Ukraine =)
Tested and the results is good.
But whenver there is a loss, it will be a big loss. Possible to include stop loss and other adjustable parameters e.g lot size....?? so that we can change it in the EA properties.
(I know that you have explained clearly how the stop loss work, many thanks but my suggestion here is enable user to control their loss)
Many thanks
This EA stops trailing the stop and the price actually can get away from it....
ES
hi. how do I change lot sizes
Can any one tell me the coding of a second trade mulitple of first trade?
I have coded the first trade open on certain level. So I need help how to code second trade if first one trade moves on wrong side then open second trade with multiply of first trade and then open third trade multiply of second and so on and then TP of all trades on certain points.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
SupportResistTrade:
Author: Oleksandr