[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 186
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
Hi, I wrote an indicator with two different MACDs in the same window and at the same scale.
I now need to go through all of the SEEN bars again and find the time when the second indicator signal line (orange) on ZERO bar will be equal to the first signal line (red).
Can anyone help me figure it out?
And what does the stoplevel equal?
Aha!!! It's on the screen in the main EA): 30 pips............................((((((((((((((((((((
Still, what about if(....) can I run through this balalaika, my MT4 condition?):
Aha!!! It's on the screen in the main EA): 30 pips............................((((((((((((((((((((
Still, what with if(....) can I get through this balalaika, my MT4 condition?):
it is possible to do without a stopgap... not a fact, or rather a fact again in the condition of natural value comparison...
Aha!!! It's on the screen in the main EA): 30 pips............................((((((((((((((((((((
Still, what with if(....) can I get through this balalaika, my MT4 condition?):
Indicator and EA are completely different things
Hi, I wrote an indicator with two different MACDs in the same window and at the same scale.
I now need to go through all of the SEEN bars again and find the time when the second indicator signal line (orange) on ZERO bar will be equal to the first signal line (red).
Will someone help me figure it out?
D_sig=MathAbs(Signal1Buffer[0]-Signa13Buffer[0]);
Why MathAbs if you define 0
just have to subtract
//---------------------------------------------------------------------------------------
if(Signa13Buffer[0]==Signal1Buffer[0])
and here we should probably if(D_Sig==0) { command for signal ; }
Tried another way of comparing
if(highest-Cls1<=highest-50*Point) or add,
result is the same)))))........... MT4 does not see the conditions...(:
Give me your indicator
D_sig=MathAbs(Signal1Buffer[0]-Signa13Buffer[0]);
Why MathAbs if you define 0
we just need to subtract
//---------------------------------------------------------------------------------------
if(Signa13Buffer[0]==Signal1Buffer[0])
but here it must be if(D_Sig==0) { command for signal ; }
Thanks for wanting to help. I put if (D_sig==0) { command for the signal ; }. "Steps" became less, but still they are.
And MathAbs put for what was a "corridor" for comparison, because the probability that the signal lines will be absolutely equal, negligible.
Maybe someone else has thoughts on my problem?
The difficulty is that WITHOUT THIS.................... && highest-Cls1<=50*Point)..... EVERYTHING WORKS and this one doesn't!
Too strict conditions. Make it not 50, at least 250-500.
It should have been enough to do the priming from the start, but you didn't want to.
Thank you! Interesting you if() { ...split with brackets...))):
And how do you do shifts (indents) of program code in the form of snake C??? I can't find it in the MT4 settings.... ):
That's the way there seems to be a tab.
The simpler the condition, the easier to check, and it works faster