| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack (4) | Thread Tools | Display Modes |
|
||||
|
Artificial Intelligence
I downloaded this EA from here in the hopes of developing the AIMM™ complete Artificial Intelligence trading system with Money Managment.:
http://www.earnforex.com/mt4_expert_...telligence.mq4 I am using this one hour TF EA in an unconventional way and loaded it and viewing it on 1 hr charts. I am "in need" of just one thing added to the code, just now. Please do not fill up this thread with posts and make it long and incoherent. Allow me to just post my results with the default settings presented in the link above. After a bit...we will get a "feel" for this as the market conditions demonstrate their most excellent ability to remove money from your account. I hope that changes will be sparse in this thread and tested before they are made. This global variable that I am requesting does not necessarily need to be be dragged into each chart, but made a part of the EA code...or maybe a script could be added somewhere to be automatically run when the TOTAL PORTFOLIO arrives at the percent indicated/chosen in a user friendly interface where the percent can be typed with one decimal...for example 1.8%...1.9%...2.0%...2.1%...etc...etc I need three inputs allow in these percents to be entered with their own BeginTime..such as 2:00...00:00.....17:00...etc These times should read the local computer clock. I need this money managment input added to this, to look at the total portfolio wide floating P/L in MT4/IBFX and when the users chosen percent for that time area is reached...1.5% for example then a "close all" script will activate, taking the profit and getting flat in the four pair I trade, thus allowing the EA to start again. I will share the three combinations of four pair portfolio's when some kind soul adds this to the code and posts the MQ4 download that modifies this EA as requested. It would be so helpful to me as I do this "entire portfolio exit" manually now and I do not have time to be glued to the platform, but can glance at it to make sure all is running ok. Understand, I need to test your code modification before I start posting Journal-style posts. I know...I know...Electric! why are you messing with these AI EA's?... It's just that I battle to keep my mind open and this EA makes the most money in the last two days out of the four different EA's that I watch on my four 19" LCD's...in a market that goes up and down. I also really, really do trade with four live accounts too! in the upper half of my four screens turned vertically. This EA goes long and short and has no weaknesses towards the positive carry unwinding or winding and bases trades on different logic and is longer term (but I make it shorter term with my exits and the four pair that do not overlap). I need diversification, thus I am trying this and this EA seems to get me going on the correct side of the trade and I never have let it trail its SL's up as it goes positive...but they are there if needed. I have only traded it in my demo account for 2 days and it is too early to tell...but I get busy and manually taking 2% off the table is inefficient as I miss opportunities. I need it automated! ElectricSavant™ Last edited by ElectricSavant; 08-11-2007 at 08:48 PM. |
|
||||
|
For those of you curious as to this users two modifications (elitecamper) IN THE CODE and not the user input screen. Here are the default inputs presented in the opening post above for this EA, but this user is going into the code (I will list the entire & simple input screen here below):
x1: 135 x2: 127 x3: 16 x4: 93 sl: 85.0 lots: 1.0 MagicNumber: 888 ES P.S. The first change, I will implement at the posters word. It is not my style, but Fib #'s cannot be so bad. P.P.S. The 2nd change suggested by this user would automate the "a pairs unique inherint charateristics. Below is the portion of code this user is tinkering with. //+------------------------------------------------------------------+ //| The PERCEPTRON - a perceiving and recognizing function | //+------------------------------------------------------------------+ double perceptron() { double w1 = x1 - 100; double w2 = x2 - 100; double w3 = x3 - 100; double w4 = x4 - 100; double a1 = iAC(Symbol(), 0, 0); double a2 = iAC(Symbol(), 0, 7); double a3 = iAC(Symbol(), 0, 14); double a4 = iAC(Symbol(), 0, 21); return(w1 * a1 + w2 * a2 + w3 * a3 + w4 * a4); } //+------------------------------------------------------------------+ Quote:
Last edited by ElectricSavant; 08-09-2007 at 05:00 PM. |
|
||||
|
ES, I'm not a coder but you can use this EA in the meanwhile, you simply attach it to a random chart and input what $ amount you want it to close all trades and it closes all trades once the input profit is reached then the AI EA will re-start.
You can easily figure up 2% of your balance in your head even. It won't automate it but should save you considerable screen time. You would simply have to update the 2% input as your balance goes up ![]()
__________________
All your pips are belong to us! |
|
||||
|
Since there are many people reading from all over the world and at various levels in their journey...I will ask this:
Question: Do I simply change the numbers, highlighted in blue below, then save & compile in the MetaEditor and then close down and restart the MT4 platform...do I need to remove the EA and then re-drag after I reopen? also do I need to do all of this in a flat/no open trades moment? //+------------------------------------------------------------------+ //| The PERCEPTRON - a perceiving and recognizing function | //+------------------------------------------------------------------+ double perceptron() { double w1 = x1 - 100; double w2 = x2 - 100; double w3 = x3 - 100; double w4 = x4 - 100; double a1 = iAC(Symbol(), 0, 0); double a2 = iAC(Symbol(), 0, 7); double a3 = iAC(Symbol(), 0, 14); double a4 = iAC(Symbol(), 0, 21); return(w1 * a1 + w2 * a2 + w3 * a3 + w4 * a4); } //+------------------------------------------------------------------+ ES P.S. To those of you that have never coded and would love to try...remember every space even if its empty has a function...be very, very careful. Last edited by ElectricSavant; 08-09-2007 at 05:11 PM. |
|
||||
|
to clarify what this contributer means:
I can open up a fifth chart..and run his download that he shared (I will leave its background black, which is different from the midnight blue that I use in my charts within demo accounts to remind me what they are and they are not live hehe). The reason the fifth chart is needed is that two EA's cannot run at once on one chart. Since the automation that I need can run independently of the other four pair it can remain outside of the four pair that I use in this AIMM™ EA. Actually, this could be used for coding the global variables and be that chart designated for that part of the development of this 2-EA AIMM™ system and the future modifcations to the EA could be separated and contained there. This fifth black chart will remind me that it is there to merely function as an AIMMEarlyTP™. I find that to organize from the beginning when testing several EA's, indicators and theories saves a lot of time and confusion for me the trader/researcher. (keep a written journal and update it each morning with your cup of Java) Thank you lepiricus, I will test this solution. ES Quote:
Last edited by ElectricSavant; 08-11-2007 at 07:16 PM. |
|
||||
|
Quote:
here is my little fib tweak. im going to try to combine the ai ea and the ea lepericus posted. its just a cut and paste job. then it can all be backtested. |
|
||||
|
Thank you Sir...please test thouroughly before posting your work...please (because I will
). This is fun isn't it? but wouldn't you agree that writing in percent rather than dollar amount would be better & self-updating...trade set to trade set...? please include the 1 decimal percent input field, as requested in the opening post. There is no hurry folks...accuracy and well thought out presentation and testing is far more important than speed. I hope that somebody can get something from this "plain speak" Journal. Don't worry I will FORCE these guys to speak in "Plain Speak English" Please folks slow down now...lets give this a day and do not go off in several different directions as I must test one change at a time... ES Last edited by ElectricSavant; 08-09-2007 at 07:19 PM. |
|
||||
|
Thank you for posting this elitecamper.
I have reached this far in the thread and this represents one change from the opening link posted. I will test this as I got sidetracked here and there was 2% in the float as I post... I took it!...HeHe I used a "close all" tool that I have and quickly exited and got flat in the entire portfolio. Then I turned off the advisor..in preparation for this new test...now some of you are asking to yourselves..Electric? why 2% ? This is my answer: Because we are working together with SL's and TP's and I am trading with 1 lot which is a total of 4 lots per 3k. 2% seems reachable before the AI system kicks in...which I consider protection instead of being naked. I like getting out early with diversification just to see what the AI does with its directions on the new entries at the next opening of the one hour candlestick. We are combining and calibrating, thus my need for one change at a time folks. Thank you. Do not post your PERCENT MM change until tomorrow please! as I must test and it will get lost in this thread. Lets limit our posts now ok? This can become a very large thread...or maybe we can be quiet and test (please do not rate this thread). Forget backtesting multiple pair..it does not work together...This is AI with MM. Plus I will Forward test. ES P.S. With the four independent pair that I trade representing eight currencies...there are losses and gains in the mix..so when I exit and re-enter...the AI can go in another direction...sometimes it stays the same....and the individual losses that was averaged previously turned around and becomes the gain in the next exit...each pair fortifies each other and who cares which one is carrying the weight! Remember we are not naked and we have SL's and TP's...also...This technique that I am using is advanced trading and should be realized by some of you as brilliance, and believe it...I found this all by accident and years of trading experience and not MY brilliance. (now I am going to eat my words if all this goes bad). I have made 6.39% in two days with my Demo trading, with the link in the opening post here, and I used the default inputs on the four pair We can now compare this one change to this to see how it does, but I need to watch and exit at 2%, as I have been doing, to compare apples to apples. Late edit: the EA portfolio of four pair with this latest change, is already in plus territory in under 10 minutes...some pairs are losing and some winning. the reentry that the AI evaluates is always new after a 2% profitable reset...and again...if the hold becomes overnight we are not naked. Last edited by ElectricSavant; 08-09-2007 at 07:19 PM. |
![]() |
| Bookmarks |
| Tags |
| artificialintelligence.mq4, neural networks |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/expert-advisors-metatrader-4/9034-artificial-intelligence.html
|
||||
| Posted By | For | Type | Date | |
| NeuralNetwork EA - Page 4 - CariGold Forum | This thread | Refback | 11-25-2007 05:36 AM | |
| NeuralNetwork EA - Page 4 - CariGold Forum | This thread | Refback | 11-24-2007 04:10 PM | |
| Artificial-Intelligence » Blog Archive » What Humans Do With Artificial Intelligence | This thread | Pingback | 08-27-2007 05:05 PM | |
| Artificial-Intelligence » Blog Archive » ScienceDaily: Artificial Intelligence News | This thread | Pingback | 08-11-2007 12:55 AM | |