Check last closed trade status.
-
@fxDreema said in Check last closed trade status.:
I am allowed to open more than one trades in a single market.
This should be the EA from the PDF is I didn't missed something:
http://fxdreema.com/shared/zlHZzgzXc
-
Is there a way to check my last closed trade either at S/L or T/P and open another trade based on those results?
For example a buy order that closed at a stop loss, open a sell order, or vice versa. -
If only type (buy or sell) and profitability are needed, look at "Checkup" category.
-
How do I create an EA and upload it here for people so look at and make suggestions?
-
I found out how to make an EA that can be seen here.
I want to make a hedging EA that will open a long trade at .1 lots with a 20 take profit and a 40 stop loss and a short trade at the same take profit and stop loss if the market moves 20 pips against me. Am I on the right track here?
http://fxdreema.com/shared/AKMEwJM7b
Also, how could I keep tripling my lot size until i hit a take profit trade?
Thanks,
-
This (uses history trades loop, constants and two "Formula" blocks sharing the same "Result" variable)
http://fxdreema.com/shared/GON95kl3b
or this, which looks simpler
http://fxdreema.com/shared/Xk6A18zmeOf course, this EA eventually leads to "Not enough money"

-
Thanks a lot.
-
I just updated the last post...
-
Thanks again for taking the time to help me again. I was wanted to have a sell trade to open at the same time (before the buy closes at a stop loss) if my buy goes down by 20 pips. Then the martingale system if the sell trade doesnt hit it's take profit and instead the market goes back up and i close out my still running, original, buy trade.
I attached a PDF file I found for this strategy.
Thank you again,
......
NLS.pdf -
Basic example of what I want to try.
http://fxdreema.com/shared/mk0Uv82mb
Problem is pending orders don't open at same price as the open buy/sell orders.
Thank you so much again,
Ian -
Unfortunately, I think that there is no big difference between the EAs above and this PDF strategy
Well, it is martingale obviously, it's using x2 lot size, not x3, but let's take a deeper look...The real problem is written inside the PDF:
__Continue this sequence until you make a
profit. Lots: 0.1, 0.3, 0.6, 1.2, 2.4, 4.8, 9.6, 19.2 and 38.4[/quote:knu2daie]It's easy to write this - just open 19.2 lots and you will be fine! But can you open such amount of money now?
Do you know how big is 1 pip when you have opened 0.1 lots in EURUSD? It's $1.
Let's take a look how many dollars you are "ready" to lose...0.1 lots, 60 pips loss -> $1 x 60pips = $60
0.3 lots, 60 pips loss -> $3 x 60pips = $180
0.6 lots, 60 pips loss -> $6 x 60pips = $360
1.2 lots, 60 pips loss -> $12 x 60pips = $720
2.4 lots, 60 pips loss -> $24 x 60pips = $1440
4.8 lots, 60 pips loss -> $48 x 60pips = $2880$5640 are lost at this moment...
9.6 lots, 60 pips loss -> $96 x 60pips = $5760
oops... this one was bigger than all the previous 6 losses!
There is a HUGE chance of hitting... say 5 stop-losses one after another with such a small SL/TP. Will it hit 6 stop-losses - for sure! Will it hit 7 stop-losses - for sure! What about 10 stop-losses in a row - no problem!
But you can try martingale with giant SL/TP - more than 300 pips. There will be another problems like the cost of having a trade running for weeks.
In other words this PDF strategy isn't that "awesome"
But I truly believe this simple PDF file is AWESOME for the website that is mentioned many times inside. Wow, I should make the same PDF for fxdreema.com 
-
__Basic example of what I want to try.
http://fxdreema.com/shared/mk0Uv82mb
Problem is pending orders don't open at same price as the open buy/sell orders.
Thank you so much again,
Ian[/quote:3w1r9vgq]Buys normally opens at Ask price, Sells - at Bid. But you can play a little bit with "Open at price" parameter in blocks that puts pending orders.
Meanwhile, I posted another reply a minute ago... it is located on the previous page in case you missed it.
-
Dude just wanted to try something out I found on the net that seemed interesting, don't have to be a dick about it.
-
Are you allowed to hedge where you're from? Do you look down apon people trying to build hedging strategies?
-
I am allowed to open more than one trades in a single market.
This should be the EA from the PDF is I didn't missed something:
http://fxdreema.com/shared/zlHZzgzXc