Not enough information, add a shared link and say what's not working
Posts made by jstap
-
RE: i need helpeposted in Questions & Answers
-
RE: EA based on mt5 opened orders with pending ordersposted in Questions & Answers
You need to add more blocks, if loss do this, if win do this.
-
RE: Moving average crossposted in General Discussions
upper left create a variable (double) and call it what you want, under a pass block put a comment with this variable, put a once per bar block and add 1 every candle to the variable using a formula block saving back into the variable. under a condition block for the X set variable back to 0 using a modify block, you can check this variable in a standard condition block.
-
RE: EA based on mt5 opened orders with pending ordersposted in Questions & Answers
You want it set like this:

-
RE: EA based on mt5 opened orders with pending ordersposted in Questions & Answers
The \EA can read your starting trade lot, for each trade, looking for last opened, put the lot in a variable. put this un a comment to see what returns, you could then adjust by *? in your buy block, if tp hit you can tell ea to use the fresh starting lot.
-
RE: Turn OFF EAposted in Questions & Answers
Terminate for back test, once working change for a bool variable for live
-
RE: EA based on mt5 opened orders with pending ordersposted in Questions & Answers
Not if done on the on trade tab, the trade created block only works once
-
RE: EA based on mt5 opened orders with pending ordersposted in Questions & Answers
on trade tab, trade created by all and manually opened, place pending with desired settings, create 2 trees 1 for buy / 1 for sell
-
RE: Moving average crossposted in General Discussions
cross happens reset variable to 0, once per bar count +1 on variable, check count above placing a trade
-
RE: Turn OFF EAposted in Questions & Answers
@KenAdams Yes such is EA trading but, why would you think it makes sense to terminate, just stop the trading until it's time to restart.
-
RE: Turn OFF EAposted in Questions & Answers
Why terminate EA? Using other blocks/variables the EA will restart when needed without human input.
-
RE: How to use "Custom MQL code"?posted in Questions & Answers
Should be fine but need to add ; at the end, put all in a comment so you can see what is happening.
-
RE: Display flags in commentsposted in Questions & Answers
I too agree, use a bool variable, then you can display state in a comment.
-
RE: Please help how to add the pending order immediately at the same price of previous open trade every time that when the opposite trade get stop loss.posted in Questions & Answers
When a pending order opens it becomes a trade, the pink in loop needs to be used under a for each block.
-
RE: New position on every candleposted in General Discussions
Once the cross has happened X< or X> the MA's are < or >, to have it work on the cross select the cross in the condition block. Start with this, add a shared link if not working or if wanting to know how to add, back test to check.
-
RE: Every "n" ticks explanationposted in Questions & Answers
Every tick the block counts, so if you have it set t0 3 then it will count to 3 then activate.
