[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 427
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
Hello, I've already written help please, I can't figure it out I wrote a script for some reason I can't get the minimum price for the last 9 bars can I be dumb and most likely this is it, help please...
There is an ant-GUBreakout indicator that plots lows and highs over a period of time, so how do I know the price of these lows and highs? Is there any way to do this?
It's blue in the picture.
Hello, I have already written help please, I still can't figure it out I wrote a script for some reason I can't output the minimum price for the last 9 bars maybe I am stupid and most likely this is the case, please help...
Look in the method editor in help how iLowest and iLow functions work
I want to understand how to use the ObjectMove command. I have created an object:
- How to move this line to
- What is (in ObjectMove):
Thank you!
I want to understand how to use the ObjectMove command. I have created an object:
- How to move this line to
- What is (in ObjectMove):
This is a subwindow angle. The function shifts one coordinate.
"Subwindow corner" - what is this?
If possible, describe in full how to move this line using ObjectMove.
Good day! I am trying to create my first Expert Advisor based on the example from the tutorial, it would seem everything is simple.... but so far unsuccessfully(((( help please, no errors during compilation, but during testing no trades..... this is how the trading criteria on the signals from the indicator are prescribed:
// trade criteriaMA_1_t=iMA(NULL,0,Period_MA_1,0,MODE_LWMA,0,1); // MA_1
MA_2_t=iMA(NULL,0,Period_MA_2,0,MODE_LWMA,0,1); // MA_2
color Oct_1=iCustom(NULL,0, "octavia_1",Red,0,1);// octavia value
color Oct_2=iCustom(NULL,0, "octavia_2",Green,Red,1,1);
if (MA_1_t > MA_2_t && Oct_1==Green && Oct_2==Green) //
{ //
Opn_B=true; // Open Criteria. Buy
}
if (MA_1_t > MA_2_t && Oct_2==Red) //
{ //
//
Cls_B=true; // Close Criterion. Buy
}
if (MA_1_t < MA_2_t && Oct_1==Red && Oct_2==Red) // If difference between
{ //
Opn_S=true; // Criterion open Sell
}
if (MA_1_t < MA_2_t && Oct_2==Green) // If difference between
{ //
Cls_S=true; // Criterion closed Sell } Sell
}
If I delete the part about the indicator and leave only MA, the program starts working... Thanks in advance)))
Good morning!
Could you please tell me how to make a program in mql4 that would look at the parameters(current price and min/max price) of the current bar and be able to compare them with the previous bar?
I'm not asking to write a walkthrough for me, just tell me where to look, how to navigate the bars?
Good day! I am trying to create my first Expert Advisor based on the example from the tutorial, it would seem everything is simple.... but so far unsuccessfully(((( help please, no errors during compilation, but during testing no trades..... this is how the trading criteria on the signals from the indicator are prescribed:
// Trading criteriaMA_1_t=iMA(NULL,0,Period_MA_1,0,MODE_LWMA,0,1); // MA_1
MA_2_t=iMA(NULL,0,Period_MA_2,0,MODE_LWMA,0,1); // MA_2
color Oct_1=iCustom(NULL,0, "octavia_1",Green,Red,0,1);// octavia value
color Oct_2=iCustom(NULL,0, "octavia_2",Green,Red,1,1);
if (MA_1_t > MA_2_t && Oct_1==Green && Oct_2==Green) //
{ //
Opn_B=true; //open Buy criterion
}
if (MA_1_t > MA_2_t && Oct_2==Red) //
{ //
//
Cls_B=true; //Click criterion Buy
}
if (MA_1_t < MA_2_t && Oct_1==Red && Oct_2==Red) // If difference between
{ //
Opn_S=true; //open Sell criterion
}
if (MA_1_t < MA_2_t && Oct_2==Green) // If difference between
{ //
Cls_S=true; // Close/Sell criterion Sell
}
If I delete the part about the indicator and leave only MA, the program starts working... Thanks in advance)))