I try this no luck .
Got me stumped may be the volume the prolem do i need an array for that ?.
static double Price_h=0;
static double Price_l=0;
if (Volume[1]>Maxvoluume){Print("more than max");
Price_h=High[1];
Price_l=Low[1];}
else {Print("less than max");return;}
kiwiforce: so what do i need to change.
Play videoPlease edit your post.
For large amounts of code, attach it.
- How should we know - there are no mind readers here. Print your variable values and find out WHY.

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 there
I'm trying to asign these two values to the to the static double after the condition is meet .
The Maxvoluume is a extern double, but it don't run block 2 when it should block 1 should return or break go back to the start function start .
so what do i need to change.
cheers
kiwiforce
static double Price_h=0;
static double Price_l=0;if (Volume[1]<Maxvoluume)
{Print("less than max");return}
else
{Print("more than max");
Price_h=High[1];
Price_l=Low[1];
}