Hello.For one strong Martingale system we need to save your Equity- for example open one sell, but the trend is in other direction, after 50 pips we repeat- open sell but with double value, if the trend continue we repeat ect.Well after one correction we get the profit... simple and clear, But When we start this correction after 50 or after 5 000 pips?How many pips we can expect 5 or 500 pips in other direction?Hmmm I know many more of us alredy think before for this... yes this is not The Holy Graill, But- if you can get "little" more stats information, we can build good strategy.My idea and we need of EA for this- How many pips is Maximum trend without retrace of 10-20-50 pips?Yes only for Before, for History period but this is will be great base for future work.I`m not mql programmer and please no laught, but I give discription for my ideia-This EA is Not for trading, we just need of stat Information;One variable- $reverse- in this variable we can write How many pips we need after the trend ( this value is in your MM and we create strategy for this results) and EA calculate the test for this value- For my example $reverse=30 pips; Well this is the procedure- EA start and get current price- for example 1.5000 ok in next bar ( in tick, 1m, 5m or more but little time frame give more accurate results ) get the price again for example 1.5050 and identify the bullish trend ok.Next bar EA check- price is 1.5100, evry current Max pair value is addin in one Current Temp $curentmaxprice, next price is 1.5080=$currentprice the difference between... sorry I`m php/mysql programmer but I never write mql code but I think we need simmilar to this
$reverse=30; // the pips reverse factor who we need for x2, x4, x8, x16 ect close with profit
$currentprice=0; //we start with 0 but in evry period check actuality this
$currentmaxprice=0; //we start with 0 but after evry new check we calculate
$maxpricetotal=0; //maximum trend movement without reverse with 30 pips
//may be one while here
if($currentprice>$currentmaxprice){$currentmaxpric e=$currentprice;}
if($currentmaxprice-$currentprice<=$reverse){$currentmaxprice=$maxpric etotalcurrent;
$newagain=1; //variable for epty currentmaxprice and start again the count the pips in oher direction
if($maxpricetotalcurrent>$maxpricetotal){$maxprice totalcurrent=$maxpricetotal;}
In the end in $maxpricetotal we have The Maximum value pips for one trend Without retrace from 30 pips... If this period is 300 and we use a 50 pips for your martingalle system we stop to the 6 level 1, 2, 4, 8, 16, 32, and this is will be in your MM;If the results is 600 but we cannot save the capital for 20 levels your step will be for example 100 pips- 6 levels again.
Well... thats it... in advance very thanks if anyone can help for programing and give many more ideas- if we have a stat calculation for really long period behind 10 years for example and if the focus is one exotic pair AUD/CAD or AUD/NZD with 2 500 - 3 000 pips movement for last few years we can create good and ... little of little more safetly strategy for your capital.
$reverse=30; // the pips reverse factor who we need for x2, x4, x8, x16 ect close with profit
$currentprice=0; //we start with 0 but in evry period check actuality this
$currentmaxprice=0; //we start with 0 but after evry new check we calculate
$maxpricetotal=0; //maximum trend movement without reverse with 30 pips
//may be one while here
if($currentprice>$currentmaxprice){$currentmaxpric e=$currentprice;}
if($currentmaxprice-$currentprice<=$reverse){$currentmaxprice=$maxpric etotalcurrent;
$newagain=1; //variable for epty currentmaxprice and start again the count the pips in oher direction
if($maxpricetotalcurrent>$maxpricetotal){$maxprice totalcurrent=$maxpricetotal;}
In the end in $maxpricetotal we have The Maximum value pips for one trend Without retrace from 30 pips... If this period is 300 and we use a 50 pips for your martingalle system we stop to the 6 level 1, 2, 4, 8, 16, 32, and this is will be in your MM;If the results is 600 but we cannot save the capital for 20 levels your step will be for example 100 pips- 6 levels again.
Well... thats it... in advance very thanks if anyone can help for programing and give many more ideas- if we have a stat calculation for really long period behind 10 years for example and if the focus is one exotic pair AUD/CAD or AUD/NZD with 2 500 - 3 000 pips movement for last few years we can create good and ... little of little more safetly strategy for your capital.