@jstap - Have a look at the shared link I posted on the first page and see if I'm correct*
Posts made by Morpheus_0
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
-
RE: Template not workingposted in Questions & Answers
I'm not familiar with Templates, but try putting the Pass Blocks above the Orange Blocks....*
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
Well in the On Trade tab you could try a Trade Closed block and connect that to a Close Trades and a Delete Pending Orders blocks....
That should mean that when 1 trade gets closed, everything else gets closed/deleted....
Sry if I'm off the mark here....*
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
I see....and then so how do you end up with less than 30 Trades/Orders....?
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
There are 3 ways to create/modify variables:
Manually.
Formula blocks.
Modify Variables blocks....But I'm curious, how do you open 30 trades all at once so the count of less than 30 doesn't trigger...?
Steep, frustrating learning curve I know....:-))
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
@COFX said in Total Orders Count both Pending order and running trades:
@Morpheus_0 Thank you so much, it is becoming clearer and clearer now, however in the ontrade tab, if one trade just close, it modifies the variable to zero? should it not be only when all the trades close?
Yes you are correct, but the Close Trades block should close all running trades. Is that not what you want....?
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
Every time a trade is created it updates the Trades Variable....*
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
In the link I posted above^^...on the On Tick tab, the Formula adds them all up and puts them into the Sum Variable.
The condition block then says that the Sum has to be equal to or more than 30....*Actually, in the Condition block, you need to change the 'Equals or Above' to 'Equals or Below'...sry bout that...*
Not sure how you open more than 30 trades and orders at once though....*
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
@COFX said:
please how can I define a variable?
Top left, click on Variables and create them there....*
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
@COFX said:
How does the ea tell that the variable, Trade means total number of trades and that the variable Orders means total number of pending orders?
On Trade tab>
Trade Created updates the number of trades variable
Order Created updates the number of orders variable.
Sum is the sum of the two.The other two blocks should reset the variables to 0 when all the trades and orders are closed/deleted....*
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
Frustrating isn't it...?
Perhaps try something like this..>> https://fxdreema.com/shared/mpkxcGU0e
Note we are using both the On Tick and On Trade tabs....*
-
RE: Use an open trade's price level as a conditionposted in Questions & Answers
You didn't waste my time...but you do give up easily...(?)
-
RE: Please HELPS!!! (Buy Limit & Sell limit Every 10pips)posted in Questions & Answers
Input it into the Stop-Loss fields in the Buy/Sell blocks.....*
Have a play around with the different options*
-
RE: Opening a different direction tradeposted in Questions & Answers
In the No Trade block you can select 'Buys' or 'Sells' only....and then create two different trees for both....
If you select 'Either Buys or Sells' it won't open a trade if either of those are already open*
-
RE: Use an open trade's price level as a conditionposted in Questions & Answers
Well everyone here is only a volunteer and gives of their time when they can*
Ok so firstly create your Variable like this:
Type = double
Name = Open_Price
Value = 0Then follow my last post and the formula would be the open price + 0 and then right click on Put Into This Variable....and input your variable....
Then in condition block (or any blocks) you can right click where you want to put it and input the variable*
I see you requested coaching....PM me your best offer ....:-))
-
RE: Use an open trade's price level as a conditionposted in Questions & Answers
For Each Trade block....connected to....>
Formula Block: (in loop) Trade/Order in Loop>Open Price.....>Put into Variable*
-
RE: Please HELPS!!! (Buy Limit & Sell limit Every 10pips)posted in Questions & Answers
First you'll need to change all the blocks on the On Tick tab to 'All (automated and manually opened) otherwise it's only going to mange your initial manually opened trades....
For BE you can have a look at the 'Check Profit (unrealized)' block....*
-
RE: Please HELPS!!! (Buy Limit & Sell limit Every 10pips)posted in Questions & Answers
Sure....But you'll need to change the Group # to Manually Opened.....
Did you test it....?
-
RE: Please HELPS!!! (Buy Limit & Sell limit Every 10pips)posted in Questions & Answers
Firstly, create your tree on the 'On Trade' tab and use Trade Created otherwise the EA will continue to open trades...
Second use the Pending Orders in Grid Blocks....
Third, you need to connect the blocks together otherwise they won't do anything...:-))