Scalp the Little Gits, dsu

Locked
User avatar
patmontes
Trader
Posts: 367
Joined: Wed Apr 23, 2014 10:42 pm

Scalp the Little Gits, dsu

Post by patmontes »

dsugums » Sun Jul 27, 2014 10:22 am wrote:
The average daily range is getting very narrow last few weeks. Until it gets wider, better off picking up 5-9pips per trade than hoping for 12pips. Summer trading is always a challenge.
I agree... and best to use the high ADR pairs
SuperSonic
Posts: 8
Joined: Fri Mar 14, 2014 10:24 pm

Scalp the Little Gits, dsu

Post by SuperSonic »

First I'd like to thank dsugums and Steve for their work on this EA. Very nice and much appreciated! :good:

I too believe it holds some potential, and have performed a bunch of backtests and some forward testing to try out which settings give the best results. Some of those are really exciting and some show the need for further optimization. Here are my ideas:

The WMIvol indicator (and the spinoff EA Steve has created for it) works towards eliminating the fixed set market hours, and that seems to work to some extent. Not sure if it is better yet, but it's certainly more dynamic than fixed hours and more specifically the daylight savings complications it brings for quite a few of us across different trading sessions (ex. in the March/October timeframe). It's also much easier to backtest :) . Backtesting on multiple pairs with a WMIvol value of 0.6 to 0.8, it looks like the WMIvol version catches more or less the same trading hours as the ones mentioned by dsugums in the 1st post. Could be good, could be bad but will test further... :mrgreen: . Fact is that I was able to extract trade times out of the WMIvol version backtests and use them in the 'manual input' version with good results.

Since this is an EA which should work on multiple pairs, it should have the ability to adapt dynamically to their specific conditions. That means TP/SL and related BE and TS settings are specific for a given pair, and will even change over time for that pair given market conditions. My suggestion would be to incorporate these dynamics in the TP/SL/BE/TS and related functions, so that they adapt to the pair and use dynamic levels and not fixed ones. It looks like the ATR indicator could be used for this, as it's already used for other functions, perhaps together with a user-settable factor. Maybe a nice combo of ATR/ADR can be used?
The average daily range is getting very narrow last few weeks. Until it gets wider, better off picking up 5-9pips per trade than hoping for 12pips. Summer trading is always a challenge.
It would also fix the issue of 'summer trading'. :D

As an example at the beginning of a trade (and with a desired Risk:Reward level):
ATR : measured to be 20 pips
Risk:Reward : 3:1
TP : ATR * Reward (20 * 3 = 60 pips)
SL : ATR * Risk (20 * 1 = 20 pips)
TS : ATR (20 pips)
BE : triggered after ATR / 2, set to cover spread

Not sure if ATR is the best way to approach this, but to my observation it would certainly be beneficial and more dynamic. I'll probably have a go at the code to change this myself, but since this would be my first MQL programming feat it is probably better if an experienced coder looks at it in stead :roll:
dsugums
Trader
Posts: 117
Joined: Mon Jan 30, 2012 9:57 pm

Scalp the Little Gits, dsu

Post by dsugums »

SuperSonic » Mon Jul 28, 2014 4:05 pm wrote:First I'd like to thank dsugums and Steve for their work on this EA. Very nice and much appreciated! :good:

I too believe it holds some potential, and have performed a bunch of backtests and some forward testing to try out which settings give the best results. Some of those are really exciting and some show the need for further optimization. Here are my ideas:

The WMIvol indicator (and the spinoff EA Steve has created for it) works towards eliminating the fixed set market hours, and that seems to work to some extent. Not sure if it is better yet, but it's certainly more dynamic than fixed hours and more specifically the daylight savings complications it brings for quite a few of us across different trading sessions (ex. in the March/October timeframe). It's also much easier to backtest :) . Backtesting on multiple pairs with a WMIvol value of 0.6 to 0.8, it looks like the WMIvol version catches more or less the same trading hours as the ones mentioned by dsugums in the 1st post. Could be good, could be bad but will test further... :mrgreen: . Fact is that I was able to extract trade times out of the WMIvol version backtests and use them in the 'manual input' version with good results.

Since this is an EA which should work on multiple pairs, it should have the ability to adapt dynamically to their specific conditions. That means TP/SL and related BE and TS settings are specific for a given pair, and will even change over time for that pair given market conditions. My suggestion would be to incorporate these dynamics in the TP/SL/BE/TS and related functions, so that they adapt to the pair and use dynamic levels and not fixed ones. It looks like the ATR indicator could be used for this, as it's already used for other functions, perhaps together with a user-settable factor. Maybe a nice combo of ATR/ADR can be used?
The average daily range is getting very narrow last few weeks. Until it gets wider, better off picking up 5-9pips per trade than hoping for 12pips. Summer trading is always a challenge.
It would also fix the issue of 'summer trading'. :D

As an example at the beginning of a trade (and with a desired Risk:Reward level):
ATR : measured to be 20 pips
Risk:Reward : 3:1
TP : ATR * Reward (20 * 3 = 60 pips)
SL : ATR * Risk (20 * 1 = 20 pips)
TS : ATR (20 pips)
BE : triggered after ATR / 2, set to cover spread

Not sure if ATR is the best way to approach this, but to my observation it would certainly be beneficial and more dynamic. I'll probably have a go at the code to change this myself, but since this would be my first MQL programming feat it is probably better if an experienced coder looks at it in stead :roll:

Wait for market to normalise by Sept then start testing the original system. No system works in this low range market.

When pa enters the 50ma and 200ma zone, trades are difficult to move due to H1 and H4 50ma try to exert their respective trends. Avoid trading within this zone. I will try to get the codes modified to use additional ma and post it here. It will filter way too many trades though.
Image
Image
dsugums
Trader
Posts: 117
Joined: Mon Jan 30, 2012 9:57 pm

Scalp the Little Gits, dsu

Post by dsugums »

I have hard coded the 50 and 200ma in the EA. I don't have time to make it as selectable in the user input to disable it.

So far the the ma's are filtering out quite a number of bad trades as well good trades. Good trades comes in when the gap between 50 and 200 is quite large but I don't want to bother coding this rule (more than 30pips; usually a retracement after huge moves).

I prefer to filter out most bad trades and few good trades as well instead of taking all the trades.

Add in these two lines in the code (disable the user input ma setting first).

//Long trade

//Specific system filters


if (Bid > D1OpenPrice)


if (Bid > iMA(NULL,PERIOD_H1,200,0,1,0,1))

if (Bid > iMA(NULL,PERIOD_H1,50,0,1,0,1))


//Short trade

//Specific system filters


if (Bid < D1OpenPrice)


if (Bid < iMA(NULL,PERIOD_H1,200,0,1,0,1))

if (Bid < iMA(NULL,PERIOD_H1,50,0,1,0,1))


Rest of the setting remains same.

Don't pin this new modifications in post 1 until more forward test is done

:xm:
Image
Image
dsugums
Trader
Posts: 117
Joined: Mon Jan 30, 2012 9:57 pm

Scalp the Little Gits, dsu

Post by dsugums »

Sorry for not updating for sometime. Been quite busy last few weeks.

I been trading the method on 4H and seems more reliable than H1 with less trades :smile:

All the settings are similar except the sl I increased to 10pips and TP left it open or 50pips. I removed the distance of pips from floor/ceiling.

Will update again end of the week. For now, I will try to combine WMI version with this basic version on H4 timeframe.

:xm:
Image
Image
trader689
Trader
Posts: 674
Joined: Thu Nov 17, 2011 12:53 am

Scalp the Little Gits, dsu

Post by trader689 »

great please keep us posted, am having inconsistent results on H1
dsugums » Mon Aug 11, 2014 9:13 am wrote:Sorry for not updating for sometime. Been quite busy last few weeks.

I been trading the method on 4H and seems more reliable than H1 with less trades :smile:

All the settings are similar except the sl I increased to 10pips and TP left it open or 50pips. I removed the distance of pips from floor/ceiling.

Will update again end of the week. For now, I will try to combine WMI version with this basic version on H4 timeframe.

:xm:
dsugums
Trader
Posts: 117
Joined: Mon Jan 30, 2012 9:57 pm

Scalp the Little Gits, dsu

Post by dsugums »

Quick update. The EA is doing not so bad up to mid week. As long I don't fark around with the settings, it is doing great :smile: .

WMI version seems seems to filter out to many trades though.

One additional filter I add in is for long, previous candle must close green and for short, previous candle need to close red. This way, we continue with the momentum.

Will keep posted until I get this EA almost perfect :shock:

:xm:

Skype: eu_intraday (must refer as SH to get added in you request)
Image
Image
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Scalp the Little Gits, dsu

Post by SteveHopwood »

dsugums » Tue Aug 19, 2014 10:25 pm wrote:Quick update. The EA is doing not so bad up to mid week. As long I don't fark around with the settings, it is doing great :smile: .

WMI version seems seems to filter out to many trades though.

One additional filter I add in is for long, previous candle must close green and for short, previous candle need to close red. This way, we continue with the momentum.

Will keep posted until I get this EA almost perfect :shock:

:xm:

Skype: eu_intraday (must refer as SH to get added in you request)
Hi ds.

I assume you are making these code alterations yourself and not waiting for me?

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
dsugums
Trader
Posts: 117
Joined: Mon Jan 30, 2012 9:57 pm

Scalp the Little Gits, dsu

Post by dsugums »

SteveHopwood » Tue Aug 19, 2014 11:30 pm wrote:
dsugums » Tue Aug 19, 2014 10:25 pm wrote:Quick update. The EA is doing not so bad up to mid week. As long I don't fark around with the settings, it is doing great :smile: .

WMI version seems seems to filter out to many trades though.

One additional filter I add in is for long, previous candle must close green and for short, previous candle need to close red. This way, we continue with the momentum.

Will keep posted until I get this EA almost perfect :shock:

:xm:

Skype: eu_intraday (must refer as SH to get added in you request)
Hi ds.

I assume you are making these code alterations yourself and not waiting for me?

:xm:
I will post the modified codes end of the week. I am testing a few more conditions to optimise it further.

Those who are inpatient, can add this lines:

//Long trade

//Specific system filters
if (Bid > D1OpenPrice)

if (Close[1] > Open[1])



//Short trade

//Specific system filters
if (Bid < D1OpenPrice)

if (Close[1] < Open[1])
Image
Image
User avatar
rapple
Trader
Posts: 277
Joined: Fri Feb 21, 2014 10:56 pm
Location: Sydney, Australia

Scalp the Little Gits, dsu

Post by rapple »

Dear Steve and Dsu

I too have been spending some time analysing how this EA trades and believe it has some exciting possibilities. :good:

One thing I noted is that when the bid starts below the Daily Open a pending sell order is placed at the 'Price Floor' which is correct

If however bid then moves above the Daily Open within the hour the original pending order remains. What I propose is that the EA deletes the current pending order and creates a new pending at the Price Ceiling.

I have attached a chart which demonstrated this point. A pending sell was placed, the bid then reversed above the DailyOpen, but no pending buy was placed at the Price ceiling. If so it would have gone onto profit.

Kind regards Rapple

ps. to get it to trade like this I have removed the Stochastic Filter
You do not have the required permissions to view the files attached to this post.
Locked

Return to “Automated trading systems”