Another Go at an EA - Using Steves shell code

Post Reply
User avatar
Nufty
Trader
Posts: 39
Joined: Fri Feb 15, 2013 9:21 pm

Another Go at an EA - Using Steves shell code

Post by Nufty »

Hi

Still trying this coding caper... its fun, but I really do think I suck at it.

I am trying to code an EA which follows a simple Manual Trading system I use (It can scalp on 5 mins or take long term trades on 4 hour charts). This system is quite profitable for me.

The principal is

I use a Trend EMA - can be 200 can be higher!
I then have a fast and a slow EMA and wait for a cross - if the cross is above the Trend EMA I only take bullish crosses, if its below, I only take bearish.

I use Fibs as my stop loss and take profit. 161.8 being TP and 61.8 SL - I can change this to 0 for SL on shorter time frames and change the way I trade the fibs on the longer (ie trade three lots take profit at 161.8 and allow the third to run to 261.8 - with a SL at the original entry point or 100% line.)

I have been working on this for a while now - and would like to share what I have so far .

Before anyone trys the code - It DOESNT WORK.

My trouble at this time (There is going to be plenty more) is in the complexity of using Fibs as SL and TP. To be honest, I am completely lost in the code.

I will continue to chip away at it until I can see where by thought process is missing the freaken point ... lol

Here is the code if anyone wants to jump in and make suggestions, and a quick pic to explain the entry and the use of the fibs.

Thanks for any assistance

NUFTY

PS I have a second system using this basic set up, which trades a bounce of the medium EMA - I will get to that one once I have this one under control :)
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Coders Hangout”