You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
That's it. I'm not quite sure what mov is. It seems to me to be a moving average calculation
dc_D, dc_U, D, U, MyRSI - // это индикаторные буфера
Yes, U[i]=mov(dc_U[i], n, s) simple moving average.
so, it turns out that we haven't filled all arrays yet, but we're already referring to them, or no?
in this line?
if (mr==2) { U[i]=U[i+1]*(n-1)+dc_U[i])/n; D[i]=D[i+1]*(n-1)+dc_D[i])/n; }
Sorry. Can I not have an indicator, but just code to insert into an EA to get a value?
Здравствуйте, скажите, а Вы можете написать советника по без индикаторной стратегии, я могу подробно все описать, и даже картинку если надо прикреплю. Жду ответа. Спасибо.
read the first post of this thread.
Example, when opening a Buy order: ticket=OrderSend(Symbol(),OP_BUYSTOP,Lot,H+Spred+Spred,0,H-SL+Spred+Spred,H+TP+Spred+Spred,NULL,MagicNumber,iTime( Symbol(), PERIOD_D1, 0 ) + 86400);-Existing data.
Change to: ticket=OrderSend(Symbol(),OP_BUYSTOP,Lot,H+Spred+0.00003,0,H-SL+Spred+0.00003,H+TP+Spred+0.00003,NULL,MagicNumber,iTime( Symbol(), PERIOD_D1, 0 ) + 86400);-Changed data.
Example at opening a Sell order:ticket=OrderSend(Symbol(),OP_SELLSTOP,Lot,L-Spred,0,L-Spred+SL,L-Spred-TP,NULL,MagicNumber,iTime( Symbol(), PERIOD_D1, 0 ) + 86400);-existing data.
Change to:ticket=OrderSend(Symbol(),OP_SELLSTOP,Lot,L-0,00003,0,L-0,00003+SL,L-0,00003-TP,NULL,MagicNumber,iTime( Symbol(), PERIOD_D1, 0 ) + 86400);-changed data
H - previous day's maximum
L - previous day's minimum
0.00003 - number of points for MT4 with five digit quotes.( And to always change number of points
I think Kim has one of these, check his website.А в какой зигзаг? а то их много.
Hello, Very nice 10 pips Expert Advisor for EURUSD & GBPUSD, Breaking high & low of previous day, Can it be slightly modified, if I open BUYSTOP, EA will open a position with H+spread+0.00003 points and if I open SELLSTOP, EA will open a position with L-0.00003 points.
Example, when opening a Buy order: ticket=OrderSend(Symbol(),OP_BUYSTOP,Lot,H+Spred+Spred,0,H-SL+Spred+Spred,H+TP+Spred+Spred,NULL,MagicNumber,iTime( Symbol(), PERIOD_D1, 0 ) + 86400);-Existing data.
Change to: ticket=OrderSend(Symbol(),OP_BUYSTOP,Lot,H+Spred+0.00003,0,H-SL+Spred+0.00003,H+TP+Spred+0.00003,NULL,MagicNumber,iTime( Symbol(), PERIOD_D1, 0 ) + 86400);-Changed data.
Example at opening a Sell order:ticket=OrderSend(Symbol(),OP_SELLSTOP,Lot,L-Spred,0,L-Spred+SL,L-Spred-TP,NULL,MagicNumber,iTime( Symbol(), PERIOD_D1, 0 ) + 86400);-existing data.
Change to:ticket=OrderSend(Symbol(),OP_SELLSTOP,Lot,L-0,00003,0,L-0,00003+SL,L-0,00003-TP,NULL,MagicNumber,iTime( Symbol(), PERIOD_D1, 0 ) + 86400);-changed data
H - maximum of previous day
L - previous day's minimum
0.00003 - number of pips for MT4 with five-digit quotes.( And to always change the number of pips
So what is your problem? You have written what you want to change (and how you want to change it:)). All you have to do is to open MetaEditor and fix the code. So that you can change the number of points, do the following: