Swing Trade EA using Heikin Ashi
-
__Is this "Dynamic value (pips input)" the correct one? I think that "Dynamic value (price input)" is the correct one.[/quote:1nf0rfho]
It's true ... Now work correctly. Work quietly with a BreakEven and TralingStop without interference? -
I don't see trailing stop or break even, but if they are somewhere around, they will also modify trades. What these blocks do is to internally loop trades and modify their stops when needed.
-
__I don't see trailing stop or break even, but if they are somewhere around, they will also modify trades. What these blocks do is to internally loop trades and modify their stops when needed.[/quote:27a2paht]
Aren't here, but they're my EA previous. -
Hello fxdreema. I took a improved my strategy. Added the SL dynamic based on fractal FractalChannel through window, but if on the BE, TS together, conflict happens in SL. How to make it work properly?
http://fxdreema.com/shared/E6MPAxprd -
Well, this is your strategy, how can I tell you what to do with it
You know how to use blocks, what can I say. Use trailing stop sometimes, break even in other cases and fractals in other, something like this... if this helps. -
I mean well, so you can better understand.
First - Trigger the SL based FractalChannel.
Second - After the activated FractalChannel released to activate the breakeven and never come back to trigger SL by FractalChannel.
Third - After triggered breakeven released to activate the TrailingStop and not return activate and neither BE nor by SL FractalChannel. -
Trailing stop and BE can be made with pink blocks as well. So I can suggest to recreate these with them and using "Once per trade/order" to control those 3 situations. Or check SL level before modify.
-
Ok Thank fxDreema. try these two options. Thank you.
-
Hello fxDreema
Please give me an example of functional project? Because I thought would know, but do not know how to do this.
-
Design about what?
Here on the right is an example of trailing stop using loop blocks (blocks are now renamed, but you will get it): http://fxdreema.com/demo/mt4-9975 -
I'm sorry. Was the translator's error, I guess. I need an example of functional project based here:
__
First - Trigger the SL based FractalChannel.
Second - After the activated FractalChannel released to activate the breakeven and never come back to trigger SL by FractalChannel.
Third - After triggered breakeven released to activate the TrailingStop and not return activate and neither BE nor by SL FractalChannel.[/quote:3p006de4]Segue novamente em anexo o indicador FractalChannel.
......
FractalChannel.mq4 -
SL to fractal level, then break even, then trailing stop?
I think it's not needed to use both, break even and trailing stop. In this way trailing stop will not affect the trade until some profit reached: http://fxdreema.com/shared/D5xBmxQFd -
Hello fxDreema.
To facilitate your work, currently I chose to use only the dynamic SL with FractalChannel.
But something is happening. The SL is moving along with the price, and is not fixed below support, and is not fixed above the resistance.
Must be fixed 5 pips below the support in case buy, and fixed 5 pips above the resistance in case of sell.
Here is the model: http://fxdreema.com/shared/4OyoYsoZd
-
I am awaiting your help fxDreema.
-
Haha, I missed that. I was ready to answer 2 days ago but I had to leave in that moment.
I tested this, SL/TP is always updated, but it is exactly what the project says. When do you want to modify SL and TP? And then... they will be not modified, or they will? -
Need to be modified only when the SL ouver new support or resistance while maintaining a distance of 5 pips below support in the case of buy and 5 pips above the resistance in the case of sell.
-
I found problem with custom idicators and I updated web and local versions, but I think this problem was from yesterday.
Otherwise before modifying SL you can check if it's new value is above/lower the old one. I also found that Buy can be opened below the support line and then SL is above at invalid position, so i guess this also should be considered. Using "Condition" block with "(in loop).... -> Stop Loss (level, pips)" on the left side.
-
Ok Thanks fxDreema.
Could create a sample project so you can see how you do? I tried this way: http://fxdreema.com/shared/GE0gyUW8e it did not work.
I'm testing on demo account, not backtest.
-
What is this in those conditions... you compare value like 20 with price value, and with "==".
Size in pips returns value like 20 (for 20 pips). I think you should use the Level option. And when comparing two price levels, don't use "==", use something that contains "<" or ">" instead. -
Okay, now it seems that this working. But I need it in case of buy, or just to maintain up the SL. In the case of sell, must maintain or lower the SL, always respecting the pips distance.