A days worth of coding

free & uncensored discussion arena for TheRumpledOne

Moderator: moderators

User avatar
bredin
rank: 1000+ posts
rank: 1000+ posts
Posts: 1032
Joined: Mon Feb 16, 2009 10:41 pm
Reputation: 0
Gender: None specified
Contact:

A days worth of coding

Postby bredin » Sat Oct 31, 2009 7:42 am

1st rule : to paraphrase an old joke - dont code and trade: you might slip and spill your beer.

Apart from the spanking i took on E/J while not watching properly (my bad- no stop and 70 or 80 pips of brutal one-way movement in about 15 minutes, from which it never returned), I knocked up a couple of indis, both of which are visible in the piccy:



note the buzzard indi on the right which only appears in the right circumstances, and the 'picture in picture' bars which are M15 bars on an H1 chart. With a bit of playing round I think I can get it to show semas and stuff so I dont have to switch timeframes. and I could also pretty it up some, i suppose :)

next to work on a popup rat indi including a pic-in-pic popup of the relevant chart....

btw, I couldnt seem to find a more appropriate place to post this on kreslik.

Cheers
G

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

vladv
rank: 50+ posts
rank: 50+ posts
Posts: 111
Joined: Sat Nov 11, 2006 3:38 pm
Reputation: 0
Location: Aiud
Real name: Vlad Vahnovanu
Gender: Male
Contact:

Postby vladv » Sat Oct 31, 2009 10:24 am

bredin,please can you share these new indicators with us!? Thanks.

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 11430
Joined: Sun May 14, 2006 9:31 pm
Reputation: 45
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Sat Oct 31, 2009 3:26 pm

Check out Recent Candles by Hanover:

http://www.forexfactory.com/showthread.php?t=159644
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!

Please do NOT PM me with trading or coding questions, post them in a thread.

User avatar
bredin
rank: 1000+ posts
rank: 1000+ posts
Posts: 1032
Joined: Mon Feb 16, 2009 10:41 pm
Reputation: 0
Gender: None specified
Contact:

Postby bredin » Sun Nov 01, 2009 12:24 am

This is the buzzard indi.

The two messages are "THE BUZZARDS ARE CIRCLING" which is a 'heads up' for the NEXT candle, and
"GO LONG ON GREEN CANDLE" / "GO SHORT ON RED CANDLE" which should be self explanatory to those who know how to make a buzzard trade.

If you dont know how to make this trade go read the NEVER LOSE AGAIN thread.

This indi uses a font for the buzzard image, which is included in the zip.

If nothing appears when you attach the indi to a chart it is because there is no buzzard trade or setup occuring on the chart.

NB. some things may or may not work fully, please let me know if (when) something breaks.

Cheers
G
Attachments
buzzard.zip
(72.73 KiB) Downloaded 67 times

User avatar
bredin
rank: 1000+ posts
rank: 1000+ posts
Posts: 1032
Joined: Mon Feb 16, 2009 10:41 pm
Reputation: 0
Gender: None specified
Contact:

Postby bredin » Sun Nov 01, 2009 1:01 am

This is the Picture in Picture indi, which is based on code from the mql4 codebase, and modified to show a user defined number of bars in a user defined amount of space. I think because of this it does some strange things when loaded as part of a template, if that happens make sure the chart is at its most current place and load the template again.

This indi is also NOT FULLY IMPLEMENTED at this time as I have a bunch of stuff i want to do to pretty it up.

Due to the way the candles are drawn, they will look very ugly at many zoom levels.

The PIP chart will need to be located so that it does not overlap the actual chart, you'll see why and is a limitation of mql4 (also a reason it doesnt look like my other indis, with a nice box and dropshadows and stuff). Also horizontal line indis will draw right through the PIP and may cause confusion (SweetSpotGold eg).

Oh how I wish mql4 had better object layer implementation....

Now to the inputs, most should be obvoius:

SubSymbol if use.chart.pair is false use this to show a different pair on this chart.

pos.lo - lowest position of the PIP in percent up from the bottom of the chart

pos.hi - height of the PIP in percent of chart.

head.depth - height of the title bar in percent of the chart

draw.first.bar - where to start drawing the PIP from in bars on the chart

bar.limit - how many PIP bars to display


Cheers
G
Attachments
II_PIP.mq4
(11.83 KiB) Downloaded 64 times

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
bredin
rank: 1000+ posts
rank: 1000+ posts
Posts: 1032
Joined: Mon Feb 16, 2009 10:41 pm
Reputation: 0
Gender: None specified
Contact:

Postby bredin » Tue Nov 03, 2009 1:30 am

Quick Note: the buzzard indi just helped me grab 20 pips in 5 minutes (e/j) for a happy melbourne cup day bonus! thats half of todays target, and a modified tickchart indi helped tell me when to get out! 20 minutes later and the price is still above my exit!

Loving IT!



i just noticed how broken the PIP indi is... might try to fix that later :)

User avatar
bredin
rank: 1000+ posts
rank: 1000+ posts
Posts: 1032
Joined: Mon Feb 16, 2009 10:41 pm
Reputation: 0
Gender: None specified
Contact:

Postby bredin » Tue Nov 03, 2009 6:03 am

Grabbed another 11 on e/j and 8 on g/j, didnt have the patients (or will to sit through the drawdown I knew was coming) to wait 40 minutes for more profit that eventually appeared.

I realize now that I just dont care about 'lost profits' anymore, another good trade is right around the corner, and in any case Ive hit my daily goal of 40 pips, and hence a 10% profit for the day.
All this in the Asain session, too the euro session doesnt start for another hour.

I'll say here publicly thanks TRO, MightyOne, Dragon, along with many others who have unknowingly contributed, and will continue to do so as my charts get cleaner, simpler and more profitable.

Cheers
G
Welcome to the era of "Guns and Maskies" Trading!
The previous message contains discretion. Viewer nudity is advised.
Insanity Industries Indicators Here
Insanity Industries on YouTube!

User avatar
bredin
rank: 1000+ posts
rank: 1000+ posts
Posts: 1032
Joined: Mon Feb 16, 2009 10:41 pm
Reputation: 0
Gender: None specified
Contact:

Postby bredin » Tue Nov 03, 2009 11:29 am

Missed a 15ish pip buzzard (I obviously forgot rule one) while I updated the II_PIP indi and threw up this template:



Its beginning to look less and less like MT4...

II_PIP now replicates SweetSpot, and can be toggled.
there is a toggle to display ask price, not yet implemented so thats not actually bug :)

attached is the template with relevant indicators.

not included is the font.

Cheers
G
Attachments
PIPv101.zip
(23.32 KiB) Downloaded 65 times

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 11430
Joined: Sun May 14, 2006 9:31 pm
Reputation: 45
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Tue Nov 03, 2009 12:40 pm

NICE WORK!

Remember to KEEP IT SIMPLE, when trading.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!



Please do NOT PM me with trading or coding questions, post them in a thread.

User avatar
bredin
rank: 1000+ posts
rank: 1000+ posts
Posts: 1032
Joined: Mon Feb 16, 2009 10:41 pm
Reputation: 0
Gender: None specified
Contact:

Postby bredin » Thu Nov 05, 2009 10:39 am

Thanks TRO, i'm now working on simplifying my trading style and unsurprisingly becoming more profitable at the same time.

After tuesdays great (for me) 10% for the day, wed was a slight smacking for a buzzard that refused to materialize, and my stubborn refusal to get out when I knew it just wasnt happening for me, and just trade the psycholines as the price ran...
Today, better with +7% on two psycho trades in about 6 minutes. with that I remembered rule one, STOPPED TRADING and done some code.

With that II_PIP v 102 is out

Image
edit: the 'oddness' in the image is due to tinypic, not the indi.

theres some new inputs and enhancements, most are visible on the image.

Cheers
G
Attachments
II_PIP.mq4
(17.13 KiB) Downloaded 73 times

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “TheRumpledOne”