|
|||||||
| 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 | Thread Tools | Display Modes |
|
||||
|
Time Frame
Oh, I knew I would forget something. The time frame is 30 min.
It is really simple. I think we should see how it performs before we try to find a confirmation. I spend quite awhile looking at things that would confirm it, but I ended up just going with the simple cross. Just to clarify the post above, you won't need a trailing stop or a stop loss. just have the next cross be the end of the current trade and the start of a new one. I went back a couple of months and just got a ruff estimate of how just the cross buy itself would do and things looked pretty good especially if you traded all 4 pairs at the same time. If you can work that into the program, that would be ideal. |
|
||||
|
Quote:
I have no time to code this for you but here is a suggestion about the opening and closing of the orders. for the one that will code it. To close one and open at the exact time and price with no gap in between the two orders, try this; Lets assume your long one lot. On the next down cross, short two lots and then close the long order with one of the short orders, later using the ' OrderCloseBy() ' function. Leaving you with your short lot. That will assure you that theres no price or time gaps between your change over of direction. The CockeyedCowboy |
|
|||
|
StepStochCross Expert
Huhenyo,
Here it is. It will go long when Stoch 1 cross Stoch 2. exit the trade when Stoch 2 cross Stoch 1. Reverse for Short trading. Maybe cockeyedcowboy can make the changes, as this is pushing my limits. Cheers Jorgka |
|
|||
|
GBP/30mn.Does not look good.
Quote:
|
|
||||
|
Hmmmmm
I don't know why the EA performed that badly. If you pull up the indicator and just look back on the charts as far as you can just opening and closing positions at the same time with the crosses, the outcome is good. I think that we need Codersguru to take a look at the code and make sure it is working as I specified witht the addition of that Cowboy suggested. Please, Codersguru, if you see this post, take a look at the code and see if it executes exactly as I specified. Thanks a million. I really think this can be a good and simple EA.
Nick |
|
|||
|
Ok,
In my understand in order to Code for a cross signal, you must compare the two values against one another. EG, Long Stock value 1 must be lower than Stock value 2 ON THE PREVIOUS BAR & Then Stock value 1 must be greater than Stock value 2 on the Current bar, however it may need to wait for the completion of the current before the enrty can be place as then the EA will register this a cross. In my experience this is the only way to identify a cross signal, This EA also performs on the current bar, so I think you will not be able to file orders any earlier than what is coded already. Remember if the cross pattern is not coded like this then any time the Stock 1 is above stock 2 it will automaticly place a trade which we don't want. I think maybe you need something to protect your profits instead of using just the cross. Jorgka |
|
||||
|
The cross
You have it programmed so that when the yellow line goes above the blue line it is a long signal and the previous short's take profit, right? And when the yellow crosses below the blue line it is a short signal and the previous long's take profit.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SIMPLE-MACD-EA : An extremely simple EA based on 2 channels of MACD. Try it! | investor_me | Expert Advisors - Metatrader 4 | 29 | 07-14-2008 03:17 AM |
| My Simple EA | Pepbullish | Expert Advisors - Metatrader 4 | 5 | 02-10-2007 05:11 AM |
| Need some simple help with an EA... | Gavner | Metatrader 4 | 1 | 05-07-2006 06:06 AM |
| Request SIMPLE EA using StepMA_Stoch_V1 | stu | Expert Advisors - Metatrader 4 | 3 | 04-19-2006 03:18 AM |