Thanks for your help!
I haven't tested it out yet but I will do so in the near future!
Thanks again! 
Thanks for your help!
I haven't tested it out yet but I will do so in the near future!
Thanks again! 
__In this EA you detect whether the price is above or below the trendline, and it works... no matter if one of both comment messages is not edited.
To detect when it breaks is another story. This means that the price is going from below to above or from above to below. So I can suggest to use crossover: http://fxdreema.com/shared/2HwDQrbAb
By the way I found a little problem using in objects category in Condition when using it this way and I fixed it, so use this example on the web version because it will probably don't work on the local one at the moment.[/quote:lnb6ru4z]
Hi thanks! The web version was very helpful!
I have another question regarding TL.
There are 2 points in TL. Point 1 and Point 2.
Is it possible to change point 2 of the trendline when the high/low of the candle goes through the trendline but the closed price of the candle remains within the trendline?
If so, which block can I use to redraw or to re-define point 2?
Regards,
For condition do as follows.

Candle ID will specify which candle you are referring to.
......
co.jpg
Hello FxDreema!
Thank you always for taking time to answer questions!
I am just experimenting with trendlines.
I want the EA to comment when the price breaks above the trendline; Above Trendline.
When the price is below the TL, it should comment; below Trendline.
I am having problems configuring how the EA detects when the price moves above the trendline and wondered if you could help me.
Here is a shared weblink.
http://fxdreema.com/shared/e92SlWhzb
Best Regards,
__Maybe you have different SL in both cases, but in the case where there is no trade SL is so small that makes lot size too big... and no trades is placed. You should see error message like "Not enough money to sell...". And then on the next candle SL is bigger and lots are small enough to open a new trade.[/quote:1g9b74na]
Hello,
Yes, there was an error message that there wasn't enough money to sell.
Thank you for your help
Reagards,
__Do you have error messages? And what project ID (or name) it this one?[/quote:2zpby80n]
I am working from my local PC, its called backup15. I am not sure if I have a message. Where can I check for a error message?
Regards,
Please take a look at 2 pictures A and B.
A is when the Risk % is set to 30%. A sells at the exact place I wanted to go short.
B is when the Risk % is set to 32%. B sells at considerably lower place than I wanted to go short.
There is no other open position at that moment.
Thanks,
Best regards,
Anything over 30% delays my execution for going short.
The point of entry is when the candle price(closed) closes below a MA.
Hi there,
I did many many backtests and I found out that changing the Rsik %( position size) using Rsik% of Equity in the "sell now" block changes the point of entry even though nothing else has been changed.
Is there a reason why this happens? Where is this difference in point of entry coming from?
Thank you many times,
Best Regards,
Hello,
Thank you always for the help.
My question is follows.
How can I turn off a block after it has been used "n" times?
Regards,
__The problem is that when block 1 is executed it leads to creating a new trade because of the Buy now block at the end, but then block is executed, which is now true, and it reaches block 18 (Once per bar). But this "Once per bar" is second one and it works independently from the other one, and as a result in one shot you reach to blocks 2 and 5. I'm not sure if there can be situation where both conditions can be true... but anyways. You can use one "Once per bar", maybe on the top, and remove 18,19,20 and 21. Then connect the yellow output of 1 to 5. I didn't tested that and I'm not 100% sure that it's working, but It sounds better to me.[/quote:1b726n4i]
Hi, thank you for your advice.
I modified the block but unfortunately it did not work 
ok, i got it to work using another block called every n seconds but I am always looking for better ways of doing things.
I added onceperbar filter to allow the EA to only check it at the opening of a new candle but sometimes when the opening candle is below the MA it is closes it self.
Please take a look at picture.
The position was opened at A and the EA should hold the position until the candle closes below the MA which is C but somehow the EA closes the position at B where the opening of the candle was below the MA.
The exist program is written like this.
if trade is running ---> once per bar ---->condition(when the candle is below MA) ----->close each profitable trade.
What can I do so the EA don't exit at such location. Thanks
I was able to do filter out by using time filter for this.
I will keep experimenting.
Thanks
Hi, I am having trouble with closing a trade when candle closes below certain MA. The problem is that the EA closes the position when the price CROSSES the MA and not on the close. If the price keeps on trending I lose out on the trade but I want it to make it so that it closes the trade ONLY when the candle CLOSES below the MA. How can I do this?
This is only for Long trades.
Any help is appreciated.
Thank you so much for this!
Cheers,
Ken
__"Buy now" creates a new trade with given parameters, but that's all. To close trade by condition, on a separate group of blocks place something like "Condition -> Close each trade". If needed - "Once per bar" or other filter blocks.
Highest and lowest values are somewhere in "Market Properties"[/quote:3swndayc]
Thanks ! I figured it out after experimenting with it!

Hello fxdreema and users.
This is a noob question so please bear with me.
On the buy block, how do I set my stop loss at the highest price/lowest price of candle.
Say I am going long and I want to set my stop loss at the lowest price of a candle that may have existed few candles back ago, how do I input that?
Also, how do I close trade by using MA in the buying block. Say I am going long and when the candle closed below MA, how do I input that? Thank you