XAUUSD Highs algorithm is not sending orders
3件の返信
I have two trend algorithms that operate XAUUSD on TF M15. Until 09/20/2024, it was sending orders normally. After that, it stopped sending orders and there are no errors in the log. Since these are historical highs, my EAs were not tested at these levels. The question is: do the EAs only enter if the prices are within the base that they already know, or are they programmed to enter if the condition is true, regardless of whether the price was in the base or not?
Or is it some configuration? If anyone knows how to solve it, I would appreciate it.
0
Without specific strategy and details of a situation shared it is very hard to guess. Please share more details
0
This is the entry and exit condition, it is a short takeprofit strategy:
//————————
//ルール:取引シグナル
//————————
_sqIsBarOpen == trueなら
// init はバーが開いたときにのみシグナルを発生する
LongEntrySignal = (((sqIsFalling(“sqWeekly(NULL,0,\”Close\”, 1)”, 2, false, 0 + 1, 0))
&& (sqIsGreaterCount(“sqGetIndicatorValue(BOLLINGERBANDS_1, 0 + 1, 1)”,”sqGetIndicatorValue(BOLLINGERBANDS_2, 0 + 1, 1)”,8,true,1)))
&& (sqIsGreaterCount(“sqGetIndicatorValue(LINEARREGRESSION_1, 0, 1)”,”sqDaily(NULL,0,\”Low\”, 1)”,4,false,1)));
ShortEntrySignal = (((sqIsRising(“sqWeekly(NULL,0,\”Close\”, 1)”, 2, false, 0 + 1, 0))
&& (sqIsLowerCount(“sqGetIndicatorValue(BOLLINGERBANDS_3, 1 + 1, 1)”,”sqGetIndicatorValue(BOLLINGERBANDS_2, 1 + 1, 1)”,8,true,1)))
&& (sqIsLowerCount(“sqGetIndicatorValue(LINEARREGRESSION_1, 0, 1)”,”sqDaily(NULL,0,\”High\”, 1)”,4,false,1)));
LongExitSignal = false;
ShortExitSignal = false;
}
with the indicators configured like this:
input int BollingerBandsPrd1 = 50; //BollingerBandsPrd1
input int BollingerBandsPrd2 = 20; //BollingerBandsPrd2
input int LinearRegressionPrd1 = 13; //LinearRegressionPrd1
input double ProfitTarget1 = 0.2; //ProfitTarget1
input double StopLoss1 = 3; //StopLoss1
0
please send the strategy sqx and mql files to our [email protected] for further analysis. We can look into it
0
3件の返信を表示中 - 1 - 3件目 (全3件中)