What could be the problem that the Expert Advisor is not visible in the terminal? And in which folder to install the file h_TS_BW_2018.mqh?
I want to join the testing, but I can't launch the Expert Advisor.
When trying to compile it gives a dozen errors
And as far as I understand, the new version does not add the possibility - of improved entry by fractal "special blue colour"?
There are only two files attached at the end of the article:
"tc_bw_new_version_2-02.mq5" - expert file to place in [fata folder]\MQL5\Experts\tc_bw_new_version_2-02.mq5
"h_ts_bw.mqh" - place the included file in [data folder]\MQL5\Include\h_ts_bw.mqh
In the file "h_ts_bw.mqh" two structures should be cut out and placed in the header of the file - because they are accessed from outside. The corrected file (version "1.1") is attached to this message.
//+------------------------------------------------------------------+//|h_TS_BW.mqh |//|olyakish |//| http://www.mql5.com |//+------------------------------------------------------------------+#property copyright"olyakish"#property link"http://www.mql5.com"#include <Trade\Trade.mqh>
#include <Trade\SymbolInfo.mqh>
#include <Trade\PositionInfo.mqh>
#include<Trade\HistoryOrderInfo.mqh>
//---// enumerated list of alligator trailing stop optionsenum type_support_position
{
Not_used=-1, // Stop price maintenance is not used for the position
Trailing_On_Lips=0, // Trailing stop on the Lip Line.
Trailing_On_Teeth=1, // Trailing stop on the Tooth Line.
Trailing_On_Jaws=2, // Trailing stop on the Jaw Line.
Close_On_Lips=3, // Close a position if the price closed behind the Alligator Gubimi
Close_On_Teeth=4, // Closing a position if the price closed behind the Alligator's Teeth
Close_On_Jaw=5, // Closing a position if the price closed behind the Alligator Jaw
Close_Out_Alligator=6// Closing behind the opposite Alligator boundary
};
//---struct s_input_parametrs // configuration parameters structure
{
double lot; // lot for trading (incoming)
type_support_position support_position; // Maintenance of the stop price at the positionint alligator_jaw_period;//Alligator: jaw line period.int alligator_jaw_shift;//Alligator: shifting jaw lineint alligator_teeth_period;//Alligator: tooth line periodint alligator_teeth_shift;//Alligator: shifting the tooth lineint alligator_lips_period;//Alligator: lip line period.int alligator_lips_shift;//Alligator: lip line shift.int max_4_dimension_zone; // Maximum number of consecutive bars of zones of the same colourbool add_1_dimension; // Allow refilling by fractalsbool add_2_dimension_bludce; // Enable refilling on the "saucer (AO)" signalbool add_2_dimension_cross_zero; // Allow refuelling on the signal "zero line crossing (AO)"bool add_3_dimension_use_2_bars; // Allow to buy on the signal "buy above 0, sell below 0" (AC 2 bars)bool add_3_dimension_use_3_bars; // Allow to buy on the signal "buy below 0, sell above 0" (AC 3 bars)bool add_4_dimension_zone; // Allow refuelling on signals from red or green zonesbool add_5_dimension; // Allow refilling by signals from the balance linebool trall_4_dimension; // Allow trawl on 5 consecutive bars of zones of the same colourbool agress_trade_mm; // Aggressive style of refill to open position
};
and also fix the error in
//+------------------------------------------------------------------+//| Initialising the class+//| Symbol_for_trade - Symbol for trade +//| Period_for_trade- Period of the chart for trading +//| In case of unsuccessful initialisation returns false - re-initialisation is required//+------------------------------------------------------------------+bool C_TS_BW::Init(string Symbol_for_trade,ENUM_TIMEFRAMES Period_for_trade,s_input_parametrs &inp_param_tmp_)
{
inp_param=inp_param_tmp_;
There are only two files attached at the end of the article:
"tc_bw_new_version_2-02.mq5" - place the Expert Advisor file in [fata folder]\MQL5\Experts\tc_bw_new_version_2-02.mq5
"h_ts_bw.mqh" - place the included file in [data folder]\MQL5\Include\h_ts_bw.mqh
In the file "h_ts_bw.mqh" two structures should be cut out and placed in the header of the file - because they are accessed from outside. The corrected file (version "1.1") is attached to this message.
Hello, good afternoon, first let me congratulate you on your excellent code, I wanted to ask for help for it, when trying to compile the file I miss an error, I read the code and I think tyodo is ok, but I don't stop jumping, I leave error images
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
What can be the problem that the EA is not visible in the terminal?
And in which folder to install the file h_TS_BW_2018.mqh?
I want to join the testing, but I can not start the EA.
When trying to compile it gives a dozen errors
And as far as I understand, in the new version, not added the possibility -
improved entry by fractal "special blue colour"?
Alexey - hello!
What could be the problem that the Expert Advisor is not visible in the terminal?
And in which folder to install the file h_TS_BW_2018.mqh?
I want to join the testing, but I can't launch the Expert Advisor.
When trying to compile it gives a dozen errors
And as far as I understand, the new version does not add the possibility -
of improved entry by fractal "special blue colour"?
There are only two files attached at the end of the article:
In the file "h_ts_bw.mqh" two structures should be cut out and placed in the header of the file - because they are accessed from outside. The corrected file (version "1.1") is attached to this message.
and also fix the error in
There are only two files attached at the end of the article:
In the file "h_ts_bw.mqh" two structures should be cut out and placed in the header of the file - because they are accessed from outside. The corrected file (version "1.1") is attached to this message.
and also fix the error in
Vladimir - thanks! installed, started testing.
Vladimir - thank you! installed, started testing.
You are welcome :)
Hello, good afternoon, first let me congratulate you on your excellent code, I wanted to ask for help for it, when trying to compile the file I miss an error, I read the code and I think tyodo is ok, but I don't stop jumping, I leave error images
Read post #37.
EA generates an error during compilation
Good afternoon.
This variant compiles.