Overtrading Indicator Prototype

If you don't know where to start, start here! Don't be afraid to ask questions.

Moderator: moderators

frang0nve
rank: 150+ posts
rank: 150+ posts
Posts: 198
Joined: Thu Apr 09, 2009 7:57 pm
Reputation: 0
Gender: Male

Overtrading Indicator Prototype

Postby frang0nve » Sat Dec 19, 2009 11:57 am

Hello,

Can I ask one of the coding wizards in this Forum for a overtrading indicator similar to this prototype?:

Image


Checking the closed trades in Account History for the last 24 hours (this can be user selectable), when one or more of the limits are reached, a "STOP TRADING, YOUR xxx LIMIT HAS BEEN REACHED" message would be displayed. (I don't know if open trades can be used too)

I think the User Selectable Input should be something like this:

[font=Courier New]
Consolidate P/L=false;
PeriodInHours=24;
MaxTradesPerPeriod=4;
Target$=1000.0;
TargetInPips=100.0;
TargetPerCent=3.0;
MaxLossTrades=3;
MaxLoss$=40.0;
MaxLossPips=30.0;
MaxLossPerCent=3.0;
StopTradingStr= STOP TRADING, YOU REACHED YOUR xxxx LIMIT;[/font]


My coding capabilities in MQL4 are not enough for this task, but I think this indicator can help with one of the biggest sources of failure, at least for me...

Cheers

Francisco
Last edited by frang0nve on Mon Dec 21, 2009 10:53 pm, edited 1 time in total.

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

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

Postby TheRumpledOne » Sat Dec 19, 2009 5:48 pm

A pencil and paper can do the same.

KEEP IT SIMPLE.

Are you really going to stop trading because an indicator tells you to stop 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.

frang0nve
rank: 150+ posts
rank: 150+ posts
Posts: 198
Joined: Thu Apr 09, 2009 7:57 pm
Reputation: 0
Gender: Male

Postby frang0nve » Sat Dec 19, 2009 6:15 pm

It's not for me TRO but for a very very close friend :oops:

Well, I can install it in my charts just for fun... 8)

Your indicators help me to know when to open a trade and they can help me to know when to stop trading.

Pencil? Paper? they are not sexy. This is XXI century!

I think that something in the screen telling you that you are reaching the limits of your plans is not really a bad idea... and just happens to me that I never find a pencil when i need it.

Cheers

Francisco

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

Postby vladv » Sun Dec 20, 2009 10:43 am

Francisco,could you post the mql code for the above indicator,or send it to me by PM? Thanks.

frang0nve
rank: 150+ posts
rank: 150+ posts
Posts: 198
Joined: Thu Apr 09, 2009 7:57 pm
Reputation: 0
Gender: Male

Postby frang0nve » Sun Dec 20, 2009 12:42 pm

Hi vladv,
I'm sorry but I've just had the functional idea, and I was trying to find a more expert MQL4 programmer to code it .
But TRO looks not too interested... Perhaps someone else can help us.

I'm currently programming it in Codeless LimnorStudio platform, first version with manual data entry, and then I envision a second versión with automated data entry from Oanda.

Cheers

Francisco
Last edited by frang0nve on Sun Dec 20, 2009 7:59 pm, edited 1 time in total.

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

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

Postby TheRumpledOne » Sun Dec 20, 2009 5:52 pm

That's probably because I do NOT use MT4 as my trading platform.

I had coded something similar for TradeStation called AutoAveryTradeManager and AutoAveryTradePlanner.
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.

frang0nve
rank: 150+ posts
rank: 150+ posts
Posts: 198
Joined: Thu Apr 09, 2009 7:57 pm
Reputation: 0
Gender: Male

Postby frang0nve » Sun Jan 03, 2010 4:14 pm

While I get working something more advanced, you can try this excel tool (Beta):




Image




I have another version that I use in my Nokia 9300 cellular. If you have interest I can post it too.

If you find bugs, or you make improvements, please post in this thread.

Cheers

Francisco
Attachments
Overtrading_V0.95.xls
(41.5 KiB) Downloaded 198 times

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


Return to “beginners forum”