Hello ;
First of all, I would like to thank you for the robot you shared. I have been a writer for 20 years, I have not seen anyone write in this way. Again, thank you.I have a few questions I want to ask. Helps if you do I would appreciate it. taking the macd, cci and moving average indicator, I would like to mention a few of my questions.
Strategy actives and strategy stops. As an example here, let's assume that we have selected macd in a 5-minute strategy.
In strategy stops, let's take the Moving Average in the 1-hour part.
1 - Exactly what strategy actives and strategy stops do.
2 - In the selected strategies, if more than one strategy is selected, does it need to receive signals from all of them at the same time, or does it process signals from each of them separately?
3 - How can I manually set the stoploss and takeprofit? When I put a fixed takeprofit on the robot (example 20 pips), it does not close orders when it becomes profitable by 20 pips, sometimes it takes a very short profit and sometimes it comes out
the wide stop opens and closes at a loss.
4 - include/common/mode.h activated file as follows. Because I wanted to see and change the input parameters in some indicators. Only when I activate the __config__ parameter, the robot does not compile,the compiler is giving an error. i want to take the parameters from the config file I defined manually and run the robot, but when I activate the __config__ parameter, the program is not compiled.
#define __advanced__ // Enables advanced configuration.
//#define __config__ // Loads params from the config files. ???
#define __input__ // Enables user input parameters.
#define __release__ // Enables release settings.
5 - When I compile the robot in advanced and input mode, I can see all the input parameters of all indicators. While there are levels in indicators such as CCI, OSMA, MACD, there is no level parameter in the moving average indicator, but inside the robot
all indicators have common parameters, the same as in the macd indicator. how to use the signal open level, signal close level parameter in the moving average indicator. According to what it is calculated ?
INPUT float MACD_LotSize =0;
INPUT int MACD_SignalOpenMethod = 0; // Signal open method (-127-127) ?
INPUT float MACD_SignalOpenLevel = 2.0f; // Signal open level ?
INPUT int MACD_SignalOpenFilterMethod = 32; // Signal open filter method ?
INPUT int MACD_SignalOpenFilterTime = 3; // Signal open filter time ?
INPUT int MACD_SignalOpenBoostMethod = 0; // Signal open boost method ?
INPUT int MACD_SignalCloseMethod = 0; // Signal close method (-127-127) ?
INPUT int MACD_SignalCloseFilter = 0; // Signal close filter (-127-127) ?
INPUT float MACD_SignalCloseLevel = 2.0f; // Signal close level ?
INPUT int MACD_PriceStopMethod = 1; // Price stop method (0-127) ?
INPUT float MACD_PriceStopLevel = 2; // Price stop level ?
INPUT int MACD_TickFilterMethod = 32; // Tick filter method ?
INPUT float MACD_MaxSpread = 4.0; // Max spread to trade (pips)
INPUT short MACD_Shift = 0; // Shift
INPUT float MACD_OrderCloseLoss =80; // Order close loss
INPUT float MACD_OrderCloseProfit =80; // Order close profit
INPUT int MACD_OrderCloseTime = -30; // Order close time in mins (>0) or bars (<0)
INPUT int MACD_Indi_MACD_Period_Fast =6; // Period Fast
INPUT int MACD_Indi_MACD_Period_Slow=34; // Period Slow
INPUT int MACD_Indi_MACD_Period_Signal = 10; // Period Signal
INPUT ENUM_APPLIED_PRICE MACD_Indi_MACD_Applied_Price = PRICE_OPEN; // Applied Price
INPUT int MACD_Indi_MACD_Shift = 0; // Shift
Can you explain the question marks at the end of the parameters mentioned above with a short sentence? Can you explain by giving an example? For example, the MACD_SignalOpenBoostMethod parameter is 0. What does that mean? what if I give 1 or 2 or 100 ?
MACD_SignalOpenLevel and MACD_SignalCloseMethod what works what values do I need to give.
6 - On some indicators I see the following parameters. What are these parameters, what are they useful for ? Can you explain ?
-Platform Built-in
-Chart Calculation
-iCustom : Custom indicator file
-iCustom : Custom, legacy, provided by MT indicator file
-OnIndicator : Another indicator as source of data
-OnCalculate : Custom calculation function
-MAth-based indicator
Thank you.
First of all, I would like to thank you for the robot you shared. I have been a writer for 20 years, I have not seen anyone write in this way. Again, thank you.I have a few questions I want to ask. Helps if you do I would appreciate it. taking the macd, cci and moving average indicator, I would like to mention a few of my questions.
Strategy actives and strategy stops. As an example here, let's assume that we have selected macd in a 5-minute strategy.
In strategy stops, let's take the Moving Average in the 1-hour part.
1 - Exactly what strategy actives and strategy stops do.
2 - In the selected strategies, if more than one strategy is selected, does it need to receive signals from all of them at the same time, or does it process signals from each of them separately?
3 - How can I manually set the stoploss and takeprofit? When I put a fixed takeprofit on the robot (example 20 pips), it does not close orders when it becomes profitable by 20 pips, sometimes it takes a very short profit and sometimes it comes out
the wide stop opens and closes at a loss.
4 - include/common/mode.h activated file as follows. Because I wanted to see and change the input parameters in some indicators. Only when I activate the __config__ parameter, the robot does not compile,the compiler is giving an error. i want to take the parameters from the config file I defined manually and run the robot, but when I activate the __config__ parameter, the program is not compiled.
#define __advanced__ // Enables advanced configuration.
//#define __config__ // Loads params from the config files. ???
#define __input__ // Enables user input parameters.
#define __release__ // Enables release settings.
5 - When I compile the robot in advanced and input mode, I can see all the input parameters of all indicators. While there are levels in indicators such as CCI, OSMA, MACD, there is no level parameter in the moving average indicator, but inside the robot
all indicators have common parameters, the same as in the macd indicator. how to use the signal open level, signal close level parameter in the moving average indicator. According to what it is calculated ?
INPUT float MACD_LotSize =0;
INPUT int MACD_SignalOpenMethod = 0; // Signal open method (-127-127) ?
INPUT float MACD_SignalOpenLevel = 2.0f; // Signal open level ?
INPUT int MACD_SignalOpenFilterMethod = 32; // Signal open filter method ?
INPUT int MACD_SignalOpenFilterTime = 3; // Signal open filter time ?
INPUT int MACD_SignalOpenBoostMethod = 0; // Signal open boost method ?
INPUT int MACD_SignalCloseMethod = 0; // Signal close method (-127-127) ?
INPUT int MACD_SignalCloseFilter = 0; // Signal close filter (-127-127) ?
INPUT float MACD_SignalCloseLevel = 2.0f; // Signal close level ?
INPUT int MACD_PriceStopMethod = 1; // Price stop method (0-127) ?
INPUT float MACD_PriceStopLevel = 2; // Price stop level ?
INPUT int MACD_TickFilterMethod = 32; // Tick filter method ?
INPUT float MACD_MaxSpread = 4.0; // Max spread to trade (pips)
INPUT short MACD_Shift = 0; // Shift
INPUT float MACD_OrderCloseLoss =80; // Order close loss
INPUT float MACD_OrderCloseProfit =80; // Order close profit
INPUT int MACD_OrderCloseTime = -30; // Order close time in mins (>0) or bars (<0)
INPUT int MACD_Indi_MACD_Period_Fast =6; // Period Fast
INPUT int MACD_Indi_MACD_Period_Slow=34; // Period Slow
INPUT int MACD_Indi_MACD_Period_Signal = 10; // Period Signal
INPUT ENUM_APPLIED_PRICE MACD_Indi_MACD_Applied_Price = PRICE_OPEN; // Applied Price
INPUT int MACD_Indi_MACD_Shift = 0; // Shift
Can you explain the question marks at the end of the parameters mentioned above with a short sentence? Can you explain by giving an example? For example, the MACD_SignalOpenBoostMethod parameter is 0. What does that mean? what if I give 1 or 2 or 100 ?
MACD_SignalOpenLevel and MACD_SignalCloseMethod what works what values do I need to give.
6 - On some indicators I see the following parameters. What are these parameters, what are they useful for ? Can you explain ?
-Platform Built-in
-Chart Calculation
-iCustom : Custom indicator file
-iCustom : Custom, legacy, provided by MT indicator file
-OnIndicator : Another indicator as source of data
-OnCalculate : Custom calculation function
-MAth-based indicator
Thank you.