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
No, I don't think it's because of that, after all there is a rule to work on formed bars.
But the fact that the flag Flq=false; one for buy and sell strongly affects the separation of these trading directions and consequently the results
Here is where the problem lies.
int MMH4 = MathMod(Hour(), 4); // start 4
if(cmH4)
{
if(MMH4 == 0)
{
cmH4 = false;
delta = indicatorDelta();
Flq = true;
}
}
if(MMH4 !=0)
{
cmH4=true;
}
If we simplify things, here we have
if(MathMod(Hour(), 4) !=0)
{
if((MathMod(Hour(), 4) == 0)
{
cmH4 = false;
delta = indicatorDelta();
Flq = true;
}
}
I wonder how MathMod(Hour(), 4) !=0 and MathMod(Hour(), 4) == 0 can be executed simultaneously
i.e. the block
cmH4 = false;
delta = indicatorDelta();
Flq = true;
inside the start function never works
...
I wonder how MathMod(Hour(), 4) !=0 and MathMod(Hour(), 4) == 0
i.e. the block
cmH4 = false;
delta = indicatorDelta();
Flq = true;
inside the start function never works.
Checked. There is no issue; the block is normally executed.
Here's the rub.
int MMH4 = MathMod(Hour(), 4); // start 4
if(cmH4)
{
if(MMH4 == 0)
{
cmH4 = false;
delta = indicatorDelta();
Flq = true;
}
}
if(MMH4 !=0)
{
cmH4=true;
}
If we simplify things, then we get
if(MathMod(Hour(), 4) !=0)
{
if((MathMod(Hour(), 4) == 0)
{
cmH4 = false;
delta = indicatorDelta();
Flq = true;
}
}
I wonder how MathMod(Hour(), 4) !=0 and MathMod(Hour(), 4) == 0
i.e. the block
cmH4 = false;
delta = indicatorDelta();
Flq = true;
inside the start function never works.
Got it solved? Or still have questions?
Good evening to the participants.
Thank you all. There is a desire to join in the testing.
I got -500 pips. I make my own sets. Eurjpy, eurgbp,usdjpy - in plus. Eurusd,gbpchf,gbpjpy,gbpusd - minus.
What scheme do you use to make the sets? And what's your indicator?
Good evening to the participants.
Thank you all. There is a desire to join the test.
You're welcome to join. What's the car, fast?
What scheme do you use to make the sets? And what's your indicator?
Indctr=1. I.e. AO. The scheme was 4+2, the selection was stupidly based on maximum values. This time I will prepare differently