Stochastics 7-2-2 Alignment EA

Ask your basic questions confidently here. Flaming is not allowed. Sympathetic help is the order of the day.
Post Reply
forexdj
Trader
Posts: 63
Joined: Fri Mar 22, 2013 4:40 am

Stochastics 7-2-2 Alignment EA

Post by forexdj »

I have been searching for this kind of an EA everywhere with no success. Someone please code for me an EA that is based on the alignment of stochastics (7,2,2) in Daily/4hr/1hr time frames.

Entry Criteria
The EA should open a buy when the 3 stochs are all pointing up and a sell when the 3 stochs are all pointing down.
The trades should be taken on the next 10 levels.
Eg. EU price is at 1.3007 when the 3 stochs align upwards, the buy should be taken at 1.3010.
EU price is at 1.3007 when the 3 stochs align downwards, the sell should be taken at 1.3000.

Exit Criteria
Trades are closed when the Daily stochs changes direction.
UKIONA VYAELEA JUA VIMEUNDWA!
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

Stochastics 7-2-2 Alignment EA

Post by renexxxx »

forexdj » Sat Nov 08, 2014 1:14 am wrote:I have been searching for this kind of an EA everywhere with no success. Someone please code for me an EA that is based on the alignment of stochastics (7,2,2) in Daily/4hr/1hr time frames.

Entry Criteria
The EA should open a buy when the 3 stochs are all pointing up and a sell when the 3 stochs are all pointing down.
The trades should be taken on the next 10 levels.
Eg. EU price is at 1.3007 when the 3 stochs align upwards, the buy should be taken at 1.3010.
EU price is at 1.3007 when the 3 stochs align downwards, the sell should be taken at 1.3000.

Exit Criteria
Trades are closed when the Daily stochs changes direction.
Here it is ....

Some assumptions were made:

(1) All indi's are looking at the closed candle. So we are comparing indi[2] with indi[1]
(2) I've added the additional constraint that the previous candle has to be in overbought or oversold area as well

It doesn't trade a lot, see below screenshot ...
Selection_099.png
I have not put a lot of time into this, so if you find a few oopsies let me know. Btw. coding is quite easy you know ... you should try it out one day!
You do not have the required permissions to view the files attached to this post.
AnotherBrian

Stochastics 7-2-2 Alignment EA

Post by AnotherBrian »

Isn't this concept a similar concept to "Forex Robot"?
ianp
Trader
Posts: 83
Joined: Tue Nov 15, 2011 9:58 pm

Stochastics 7-2-2 Alignment EA

Post by ianp »

Hi,

Does this EA work with the latest Empty4 ?

As I seem unable to attach it to any of my Empty4's

Thanks
Ian
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

Stochastics 7-2-2 Alignment EA

Post by renexxxx »

ianp » Thu Nov 13, 2014 2:50 pm wrote:Hi,

Does this EA work with the latest Empty4 ?

As I seem unable to attach it to any of my Empty4's

Thanks
Ian
Ian,

You probably haven't got LibOrderReliable4 (include file and libraries file) ... I thought that was obvious, but it is attached here ... sorry ...
You do not have the required permissions to view the files attached to this post.
ianp
Trader
Posts: 83
Joined: Tue Nov 15, 2011 9:58 pm

Stochastics 7-2-2 Alignment EA

Post by ianp »

renexxxx » Thu Nov 13, 2014 4:59 pm wrote: Ian,

You probably haven't got LibOrderReliable4 (include file and libraries file) ... I thought that was obvious, but it is attached here ... sorry ...
Thanks for that .

It is not very obvious to a programming thicky like me :oops:

On another topic I see you are on the Sunshine Coast ,
I live in Buderim , so if you need any programming advice you know who NOT to call :lol:
Post Reply

Return to “EA's for Dummies.”