I think for start you can pick block called "conditions" -> in left operand chose "candle"-> in parameters chose "Candle totalsize(pips)",now you have to deside wich candle it will look at, if you want current candle then leav "CandleID" as it is "0", but if you want last closed candle then you change "CandleID" to"1". Now for right operand chose "Value" and change "Numeric" to "Pips" ->now insert how much pips you like to compare with. Now in center you chose ">" or maybe "=>" or "==" .
Now add blocks "Buy now" or "Sell now" or "anything you like", but you know you still have to limit order count becouse in this way you added blocks it will keep buying on every new tick while your conditions are met, i sugest you add a block called "no trade" this will limit opening new trades while there is a trade running alredy. Blocks must be connected in this sequence... No trade -> conditions -> Buy now.
Im prety shore its not going to work any way, but maybe by making this you will understand how FxDrema builder works here, then you can make something more complicated.
Latest posts made by Nabakap
-
RE: high-low>xpipsposted in Questions & Answers
-
RE: Bollinger Band Problemposted in Questions & Answers
There is option called >CandleID< under Candle menu... Ther must be "0" to get your current candle conditions.
Or you can try make it other way... chose "Market properties/(Ask,Bid,Mid)" not "Candle"... works almost the same. -
RE: buy/sell pending ordersposted in Questions & Answers
Sorry, I'm no pro coder, for all BIG questions you have to wait Fxdreema to answer.
There is some simple/little questions that I can try to help. I skechuped some blocks together and tested it, and... I'm not shore, but maybe "once per trade/order" block can help. http://prntscr.com/995flt -
RE: buy/sell pending ordersposted in Questions & Answers
I think you have missed out "No pending order" block http://prntscr.com/98yytw
New pending order will be placed only if there is no other pending orders waiting. -
RE: how to create an ea like Sure-fireposted in Questions & Answers
Sorry Fxdreema... Your example not compileing on metaeditor. It writes some error```
'NextLot' - struct member undefined -
RE: No ending block windowsposted in Bug Reports
It's about week now, and its keeps growing every day.

Well, actualy it has a end, but it is very far from here.

the window turns in to this when I chose "no stop-loss"
And somekind of code is printed on background to. -
RE: Adjust stops to actual open priceposted in General Discussions
I found some old topic at "2014 december" viewtopic.php?f=14&t=2719
You say:
__- [MQL4] When a trade was opened with slippage, the stops (stop-loss/take-profit) will be adjusted to the actual open price of the trade. This will happen with modify operation right after the trade is created.[/quote:1qjbm6f7]This is very important for me. I was trading on news with "stradle ea" some time ago (maybe 1.5 year ago), and everything was great until I get some ~30 pips slipage on nonfarmpayrols (thanks to luck that my tp was hit befor it desided to revers). The thing is that on that trade I discover that my pending order open price slipaged, but sl and tp levels keep staying... so my sl was not 10 pips anymore, but now there was 10+~30 = ~40 pips

Can you explain ... I don't get it... stops can be adjusted by your ea's? or MetaQuotes will do changes in MT4 so stops will be adjusted automaticly? Or maybe changes have ben made alredy (there was some mt4 updates sometime ago) and I can try news trading again?
Sory for my bad english.

