No entry condition str
12 replies
Patrick
9 years ago #112469
Hello ” searchers ” 🙂
After few days i discovered some strategies but unfortunately i deleted some of them. Here the only one i have, but it has no entry condition? What do you think?
Mark Fric
9 years ago #125818
Hello Patrick,
Â
the strategy looks nice, have you tried to run also robustness tests on it (I mean Monte Carlo analysis).
Â
What I’d do next is maybe try to simplify it – remove for example Move SL to BE or Stop Trailing and see if the strategy is changed in some way, and definitely run the robustness tests maybe also with bigger spreads, changes in history data etc. to see what you can expect.
Â
It doesn’t matter that entry rule is always true, it is a breakout strategy and the stop order itself is an “entry” order.
Mark
StrategyQuant architect
tnickel
9 years ago #125912
Hi Patrick,
this strategy looks nice.
Have you tested this strategy on demoaccount?
Â
thomas
https://monitortool.jimdofree.com/
Patrick
9 years ago #125914
Here is RT for that strategy:
Â
- first picture is RT with tick data
- second with M1 data. Its not good enough, i dont know how make it better…
- i also attach different result of RT , which is still not good…?
- last picture is setup i use…
i will test it at demo account, but you have to wait for the result.. i could attach also strategy in str format, but if i do it, you get my setting for build strategies, which is private….
Â
when i test it in pepperstone MT4 the quality of data is bad so the result is not important, if anybody could test it with 99% quality or is there any way how to get ducascopy data to MT4?
Â
i could try to make str easier, but i think it is better to trade strategies with trailling stop, profit trailling (or at least move SL to BE). you are right one of these conditions could be enough. Strategy having only SL and TP is not good i think.
tnickel
9 years ago #125933
Hi Patrik,
this strategy has a bug.
Â
The function DoubleToStrMorePrecision(double number,int precision)
is not correct.
The number of zerros is not correct.
Â
Or is this bug in the SQ at the mql-code generation.
Â
In this case it is the bug for Marc Frick
Â
thomas
——————————————————-
Â
/+——————————————————————+
//| up to 16 digits after decimal point                             |
//+——————————————————————+
string DoubleToStrMorePrecision(double number,int precision)
 {
  double rem,integer,integer2;
  double DecimalArray[17]={ 1.0, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, 10000000.0, 100000000.0,
                            1000000000.0, 10000000000.0, 100000000000.0, 10000000000000.0, 100000000000000.0,
                            1000000000000000.0, 1000000000000000.0, 10000000000000000.0 };
  string intstring,remstring,retstring;
  bool  isnegative=false;
  int   rem2;
——————————–
//| up to 16 digits after decimal point                             |
//+——————————————————————+
string DoubleToStrMorePrecision(double number,int precision)
 {
  double rem,integer,integer2;
  double DecimalArray[17]={
                            10.0,
                            100.0,
                            1000.0,
                            10000.0,
                            100000.0,
                            1000000.0,Â
                            10000000.0,
                            100000000.0,
                            1000000000.0,
                            10000000000.0,
                            100000000000.0,
                            10000000000000.0, // eine Null zuviel
                            100000000000000.0, // eine Null zuviel
                            1000000000000000.0  // eine Null zuvielÂ
                            1000000000000000.0,
                            10000000000000000.0 };
  string intstring,remstring,retstring;
  bool  isnegative=false;
  int   rem2;
https://monitortool.jimdofree.com/
Patrick
9 years ago #125937
Where did you find this mistake? I tested this strategy with no problem except the quality of the test at Pepperstone demo account…
Patrick
9 years ago #125938
if i open strategy and compile in MetaEditor it has 0 errors…i dont know whats wrong :-/Â
Â
this strategy is not good because of WFM – there is only 59% and i want 60% and the RT test is not good enough for me…could you show me a good RT test, please? is the third picture in my last post good RT test?
Â
thanks for help.Â
Mark Fric
9 years ago #125967
you are right Thomas, there is an error in function DoubleToStrMorePrecision(), but this function is not used in this strategy as I checked the .mq4 EA file.Â
Â
I’ll fix this bug in autoupdate, but it shouldn’t affect anything,moreover the bug appears only if you try to round the number to more than 11 decimal points which I think is very rarely used.
Mark
StrategyQuant architect
Patrick
9 years ago #125969
and what is this function for?
Patrick
9 years ago #125970
you are right Thomas, there is an error in function DoubleToStrMorePrecision(), but this function is not used in this strategy as I checked the .mq4 EA file.Â
Â
I’ll fix this bug in autoupdate, but it shouldn’t affect anything,moreover the bug appears only if you try to round the number to more than 11 decimal points which I think is very rarely used.
Mark, is why is there any way how to share strategies without setting from part building blocks etc? May be its possible but i can not find it? Thank you for your help
tnickel
9 years ago #125981
Hi Patrick,
why do you don´t want to share the strategies without the buildingblocks?
Â
If you don´t want to give the building blocks to other people you can activate all Buildingblocks and save the strategy.
thomas
https://monitortool.jimdofree.com/
Patrick
9 years ago #125982
Hi thomas-tnickel
Â
Thanks for your advice. I have almost all blocks activated 🙂 i will try to do somehow tomorrow. i would like to know from someone else if the strategy is good enough, i am not sure about RT tests.Â
Â
Its name is EXtras and strategies but not many people share strategies…
tnickel
9 years ago #125986
Hi Patrick,
It is not possible to say if a strategy is good enough or not.
Â
The equitycurve say not so much about the strategy.
I have 1000 of strategies with good equitycurves. 99.99% of them are curvefitted. Curvefitted means not tradeable.
Â
The generation process and the filtering process is the importend think.
a) Timeframe
b ) how many backtests with different data sources?
c) period of time of generation
d) period of time for backtest
e) Robustnesstests (Settings, currency pairs, data series)
f) Filtering process
g) Walkforward Analysis
h) Some other curvefitting tests….
Â
The parameter and settings for this generation process a) — h) are very importend.
Â
I generate always a portfolio between 10-99 Strategies and make a Endtest of unknown data.
X1)Which this one time Endtest I can say If my Filtering process is ok.
Â
I repeat X1) 10-20 times with a little different settings.
If all the Tests are profitable, I can say may strategy finding process is ok.
Â
thomas
https://monitortool.jimdofree.com/
Viewing 12 replies - 1 through 12 (of 12 total)