The Flagonator

Here is the outline for a trading system that uses a custom indicator I have made. Any coders that look at its a bit of a mess from a coding stand point I know. Feel free to clean it up its not in a final stage yet. This came out of my attempt to make an EA to trade a strat I follow. The original strat is on some other forum that rhymes with “vortex quackery” look for flag trading by a guy named Div.

Any way its visually back tested on a few pairs and looks pretty good to me. The indicator does not repaint. The trades are taken on the bar after the bar with the arrow closes. For a long trade the entry is 1 pip higher then the high of the bar with the arrow. If you look close many of the arrows are NOT followed by a trade. I am using a stepped trailing stop and a quick move to BE on the trades.

I don’t have any real stats to share I haven’t done any consistent forward testing but I felt like sharing what I have so far. Also not all the code is original I have changed some default settings on the trailing stop and renamed it. ( I kept losing it in my folder of EAs) All the code I have used that I didn’t write myself I believe has been released to the public. Now I think I am covered.

some pics

here is the indicator and some rough notes in the read me file. remember this is sort of unfinished and untested. So take it for what it is. I am still developing this and will clean up the strat rules as I progress. Any questions ask in this thread. A word of warning about the email alerts if you have MT4 set up to email an alert if baropen is set to “false” you will get a ton of alerts when you drop this on a chart.

Flagonator_pac4.zip (187 KB)

Flaganator crashed on my computer! :31:

sorry like I said its a work in progress it has worked for the couple of other people I have shared it with. I will check and see if I have all the latest files in the zip but not tonight.

No problems on my IBFX metatrader demo

Why the “Flagonator”?

Doofenshmirtz’s schemes and inventions - Phineas and Ferb Wiki - Your Guide to Phineas and Ferb

Dr. Doofenshmirtz of course!

I just did a quick visual backtest of the past week on EU 5 min chart. Counting trades that triggered and using the last swing as a stop with a move to breakeven around 10 to 15 pips. This made almost 500 pips in 31 trades 26 winners including 3 that were at 1 pip after the move to BE. 5 that lost that is they never made 10 pips before they went off to hit the stop.

If anyone else is having a problem getting this to run post here and I will try and help.

Baha! I’m glad I’m not the only trader that watches this show!! Did you see the movie? <3 :stuck_out_tongue:

Back on track, looks like a cool indicator! If only an EA was made…

If only an EA was made…

I am working on it but I am also learning to code as I go so its not a fast process. Coding an indicator is pretty easy making an EA that can constantly get the orders right is proving to be a little harder.

Oh no pressure, I was only kidding, but an EA would be impressive. As long as you enjoy the learning process and coding, I’d say it’s all worth it. I’m definitely interested though!

Flagonator v4 keeps crashing my platform after I input your settings. Also, Flagonator v5 doesn’t even bring up the settings.

sorry guys :frowning:
try deleting the version you have and try this. drop the 2 indicators in your indicator folder.

trythis.zip (3.11 KB)

Mine has worked fine since the start :o

are you guys having problems on 4 digit brokers?

just took this one on a demo account

thanks for posting strategy. i understand it is a day trading type system, is it trend following?

It only trades in the direction of a 150 period LWMA. It tries to buy right after a dip in price when the up trend resumes. Or the other way if the 150p LWMA is sloping down.

I’ve uploaded the newest version and here are my settings:

Uparrowsize: 10
Downarrowsize: 10
Period: 200
ADXperiod: 6
Level: 30
ATRperiod: 6
Level_atr: 1

Are these settings correct? Thanks.

Shr1k, is the trade manager EA going to control all trades? Or just trades taken on the one chart? Don’t want it affecting my other trades :stuck_out_tongue:

P.s.

First trade taken was a success :stuck_out_tongue: +22 pips

test it on a demo but I am pretty sure it will only manage trades that are opened with no SL TP.