Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 747 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 1
Page 7 of 25 1 2 5 6 7 8 9 24 25
Re: Lapsa's very own thread [Re: Lapsa] #484482
10/29/21 07:50
10/29/21 07:50
Joined: Aug 2021
Posts: 237
L
Lapsa Offline OP
Member
Lapsa  Offline OP
Member
L

Joined: Aug 2021
Posts: 237
[Linked Image]

Re: Lapsa's very own thread [Re: Lapsa] #484485
10/29/21 10:00
10/29/21 10:00
Joined: Aug 2021
Posts: 237
L
Lapsa Offline OP
Member
Lapsa  Offline OP
Member
L

Joined: Aug 2021
Posts: 237
Falling MMI 4

Quote

Thus, when we know that MMI is rising, we assume that the market is becoming more efficient,
more random, more cyclic, more reversing or whatever, but in any case bad for trend trading.

However when MMI is falling, chances are good that the next beginning trend will last longer than normal.

jcl


Figured I should visualize this falling MMI 4 trick I've been using.

And it sort of works just as I imagined - as a smart throttler.

A means to recognize start of the trend and follow it.


Code
function run() 
{
	set(LOGFILE|PLOTNOW);
	BarPeriod = 60;
        MaxBars = 200;
	asset(""); // dummy asset
	ColorUp = ColorDn = 0; // don't plot a price curve
	vars Sine = series(genSine(60,30));
	var mmi = MMI(Sine, 4);
	plot("Sine",Sine[0]-0.5,MAIN,BLUE);
	plot("MMI 4", mmi, NEW, RED);
	plot("MMI Falling", falling(series(mmi)), NEW, GREEN);
}


[Linked Image]

On 2 bars it (logically) refuses to speak.
On 3 bars it skips.
On 5+ bars it lags.

I mean - indicator itself is definitely useful on longer periods.
It's just not how I've built my algo.

Here's numbehs to show crucial role this single rule is playing:

Quote

Trades 4069 Win 59.8% Avg +6.7p Bars 59
AR 117% PF 1.08 SR 1.90 UI 10% R2 0.00

Trades 2096 Win 60.2% Avg +62.8p Bars 109
AR 1217% PF 1.66 SR 9.53 UI 1% R2 0.00

Last edited by Lapsa; 10/29/21 10:11.
Re: Lapsa's very own thread [Re: Lapsa] #484486
10/29/21 12:11
10/29/21 12:11
Joined: Aug 2021
Posts: 237
L
Lapsa Offline OP
Member
Lapsa  Offline OP
Member
L

Joined: Aug 2021
Posts: 237
I hate trailing stops, I really do

so deceiving

I mean - I'm pulling my hair fine tuning entries yet somehow such simple mechanic as trailing stop is supposed to be helpful

Re: Lapsa's very own thread [Re: Lapsa] #484491
10/30/21 07:40
10/30/21 07:40
Joined: Aug 2021
Posts: 237
L
Lapsa Offline OP
Member
Lapsa  Offline OP
Member
L

Joined: Aug 2021
Posts: 237
squeezing squeezing!

Quote

Monte Carlo Analysis... Median AR 1255%
Win 146$ MI 24.36$ DD 4.12$ Capital 21.81$
Trades 2074 Win 60.7% Avg +70.3p Bars 111
AR 1340% PF 1.75 SR 10.38 UI 1% R2 0.00


broken milestones:
- 1300%
- PF 1.7
- SR 10

Re: Lapsa's very own thread [Re: Lapsa] #484496
11/01/21 17:08
11/01/21 17:08
Joined: Aug 2021
Posts: 237
L
Lapsa Offline OP
Member
Lapsa  Offline OP
Member
L

Joined: Aug 2021
Posts: 237
need to figure out how to compound it correctly

Re: Lapsa's very own thread [Re: Lapsa] #484505
11/03/21 04:27
11/03/21 04:27
Joined: Aug 2021
Posts: 237
L
Lapsa Offline OP
Member
Lapsa  Offline OP
Member
L

Joined: Aug 2021
Posts: 237
losses only

to the point I'm willing to drop the ball

burn it all down or reborn like a phoenix!

Re: Lapsa's very own thread [Re: Lapsa] #484513
11/03/21 19:26
11/03/21 19:26
Joined: Aug 2021
Posts: 237
L
Lapsa Offline OP
Member
Lapsa  Offline OP
Member
L

Joined: Aug 2021
Posts: 237
[Linked Image]

oh well... it's not that bad

Re: Lapsa's very own thread [Re: Lapsa] #484518
11/06/21 12:11
11/06/21 12:11
Joined: Aug 2021
Posts: 237
L
Lapsa Offline OP
Member
Lapsa  Offline OP
Member
L

Joined: Aug 2021
Posts: 237
Code
setf(PlotMode,PL_ALL+PL_FINE+PL_ALLTRADES+PL_BENCHMARK);

Re: Lapsa's very own thread [Re: Lapsa] #484519
11/06/21 19:07
11/06/21 19:07
Joined: Aug 2021
Posts: 237
L
Lapsa Offline OP
Member
Lapsa  Offline OP
Member
L

Joined: Aug 2021
Posts: 237
Quote

Test: foxer SOLUSDT 2021
Monte Carlo Analysis... Median AR 529%
Win 65.80$ MI 11.25$ DD 5.57$ Capital 25.51$
Trades 1413 Win 62.1% Avg +32.8p Bars 181
AR 529% PF 1.57 SR 6.95 UI 2% R2 0.77


won't trade this one yet - numbahs unsatisfying

but I do have in mind adding another asset/s

Last edited by Lapsa; 11/06/21 19:08.
Re: Lapsa's very own thread [Re: Lapsa] #484535
11/09/21 07:07
11/09/21 07:07
Joined: Aug 2021
Posts: 237
L
Lapsa Offline OP
Member
Lapsa  Offline OP
Member
L

Joined: Aug 2021
Posts: 237
Quote

Monte Carlo Analysis... Median AR 784%
Win 128$ MI 21.94$ DD 9.02$ Capital 34.09$
Trades 1747 Win 63.2% Avg +73.5p Bars 146
AR 772% PF 1.80 SR 8.35 UI 1% R2 0.00


breaking PF 1.80

Sharpe unhappy cause I took off stop losses while tweaking

Page 7 of 25 1 2 5 6 7 8 9 24 25

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1