Thanking you for your answers, I tried to test one of the T.S. on the site, inspired by Andreas Clenow's book:
http://georgepruitt.com/free-trend-following-system-with-indicator-tracker/#comment-6264
using the original formula of the site, in the Italian Future (Ftse Mib Future) in the period from 2000.1.3 to 2019.12.30, obtaining a Total Net Profit: 209,231.
The Total Net profit seems very interesting.... but it is obtained because in the formula there is this string:
posSize = maxList(1,intPortion(risk$Alloc/(atr*bigPointValue)));
that increases the positionsize (the invested capital); in fact if we remove this string the final result is this: Total Net Profit: 45,432.
I was able to improve the formula a little bit, inserting a Profit Target and also the StopLoss; the Equity has definitely improved, and above all the maximum Drawndown is only a fifth (1/5) of Total Net Profit.
This is the formula that I have been able to improve, but this T.S. is indicated for titles that have strong directional movements, because in the phases side, generates too many false signals:
--------------------------------------------------------------------------------
{Trend Following 2 - from T.S: Trend Following System di George Pruitt}
Inputs: xAvgShortLen(50),xAvgLongLen(100),hhllLen(50),buyTrigPrice(h),shortTrigPrice(l),exit_proft(6000),protStop(2000);
Inputs: atrLen(30),trailATRMult(3);
Vars: avg1(0),avg2(0),lXit(0),sXit(0),atr(0);
avg1 = xaverage(c,xAvgShortLen);
avg2 = xaverage(c,xAvgLongLen);
atr = avgTrueRange(atrLen);
If marketPosition <> 1 and avg1 > avg2 and buyTrigPrice = highest(buyTrigPrice,hhllLen) then buy next bar at open;
If marketPosition <> -1 and avg1 < avg2 and shortTrigPrice = lowest(shortTrigPrice,hhllLen) then sellshort next bar at open;
If marketPosition = 0 then
Begin
lXit = o - trailATRMult * atr ;
sXit = o + trailATRMult * atr;
if c < lXit then Sell next bar at open;
If c > sXit then BuyToCover next bar at open;
end;
SetProfitTarget (exit_proft);
SetStopLoss(protStop);
---------------------------------------------------------