I have a strategy in mt4 and I would like to move it into mt5, but i have some concerns. Tell me are there any brokers with mt5 demo that allow to trade (EA) like this: buy 1 lot @ EURUSD and then sell 1.2 lot @ EURUSD while 1st position is still
Is there anyone that is in possession code for any kind of indictor similar or the same as ZZ, which wouldn't omit the some highs/lows? and which would work on closed candles so it wouldn't change its past values(of ZZ)
How to make the function not to return 0 val when Vol >1 ?? double MTRd() { int i; int n= MathRound ((MTRperiod- 1 )/ 2 ); if ( Volume [ 0 ]< 1 ) // calculate only when the new bar appears { double c;
Hi, I found somewhere there that i way to optimize the code is to use multiple if() instead of &&. So I made changes in my code and stopped working properly. So where is the bug? Plz help This worked slowly but properly void
Hi all. Plz explain to me if this code should work. I want to use ZigZag to manage SL. In order that i look for 3 last value>0 of the indicator. Than I want to use this 3 values in further conditions. Will this 3 val change in every thick
Hi, I would like to have comments when opening trade ( backtesting ). It will be indicators values like below. string comment= ( " ATRd " +ATRd+ "\n" "
Plz tell me why doesnt it work. I mean if there is opened trade in today, dont open any until next day. bool OneTradeAday() { if ( OrderSelect ( 0 , SELECT_BY_POS,MODE_HISTORY)==False)
Hi For real trading the answer is obvious - fixed risk per trade, but what with backtesting ? Wont it distort the results of EA? For the purpose of rating the EA which method is better
Hi all I trying to code the condition of finding DT. I want to check previous 40 bars starting from 6th bar to find the one(H1) with max equals to previous d1 bar. Then I want to check if neck of double bottom is over 20% of average daily range if
plz help How to code the lenght of candle shadow as a condition to order opening. if (x && x && x && 1000*(Close[1]-Low[1]) < 15 ) // max 15 pips of shadow condition - doesnt work - at image there is 40 pips shadow. {