Mira wrote:BambinoFlex wrote:Mira wrote:
I give the name “cclose-“ to the horizontal line and it closes the trade when a bar closes over it, it’s a very basic EA.
Sounds good, I'll post it in a few hours. Just to make sure, you want it to close on:
1. Candle Close (not efficient on japanese candles)
2. MID cross
3. ASK cross
4. BID cross
5. Ask for Buy and Bid for Sell
I tend to use the MID line but that's at my choice, not sure if it's the best way to do it.
I'm posting an example because i'm not very good at english..
Let's say that the cyan horizontal rectangle is the line that i'm trading away from. If price stays below that line i'm not closing that trade, if H1 closes above i'm out.. The EA that i have does it right but there's no way to declare the time frame of the "close over condition" (H1 in this case), so if i'm switching randomly to another time frame it closes the trade with no reason..
I understand, I will do the ea as you say. I'll see if I can leave it at the 1hr default and give you choices to change it.