IenDzi replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Does dynamic Take profit function is something like that?
IenDzi replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Does dynamic Take profit function is something like that?
void DynamicTakeProfit()
{
int total = OrdersTotal();for(int i = 0; i < total; i++) { OrderSelect(i, SELECT_BY_POS, MODE_TRADES); if(OrderType() == OP_BUY && OrderMagicNumber() == MagicNumber)
{
if(iADX(Symbol(), PERIOD_CURRENT, 108, PRICE_HIGH, MODE_PLUSDI, 0) > iADX(Symbol(),…[Read more]
IenDzi replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Does dynamic Take profit function is something like that?
void DynamicTakeProfit()
{
int total = OrdersTotal();for(int i = 0; i < total; i++)
{
OrderSelect(i, SELECT_BY_POS, MODE_TRADES);
if(OrderType() == OP_BUY && OrderMagicNumber() == MagicNumber)
{
if(iADX(Symbol(), PERIOD_CURRENT, 108, PRICE_HIGH, MODE_PLUSDI, 0) > iADX(Symbol(),…[Read more]IenDzi replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Does dynamic Take profit function is something like that?
void DynamicTakeProfit()
{
int total = OrdersTotal();for(int i = 0; i < total; i++)
{
OrderSelect(i, SELECT_BY_POS, MODE_TRADES);
if(OrderType() == OP_BUY && OrderMagicNumber() == MagicNumber)
{
if(iADX(Symbol(), PERIOD_CURRENT, 108, PRICE_HIGH, MODE_PLUSDI, 0) > iADX(Symbol(),…[Read more]IenDzi replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
<pre id=”line1″>”.”>Is dynamic Take profit function is something like that?
<code>void DynamicTakeProfit()
{
int total = OrdersTotal();for(int i = 0; i < total; i++)
{
OrderSelect(i, SELECT_BY_POS, MODE_TRADES);
if(OrderType() == OP_BUY && OrderMagicNumber() == MagicNumber)
{
if(iADX(Symbol(), P…[Read more]IenDzi replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
I’ve noticed meta-trader back-tester bug. When there is a gap from Friday to Monday. An order is opened on Monday, but the open price is taken from Friday and it results as TP.
IenDzi replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
This is an indicator, which shows Peaks and Troughs like histogram.
IenDzi replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
This is an indicator, which shows Peaks and Troughs like histogram.
IenDzi replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
To open Buy-Limit trade, we need that current price would be below Buy-Limit price. So, the trade can’t be opened after the candle close:
1. Price must go above Buy-Limit open price.
2. Then we can open buy-Limit order and wait while price comes back to it.
Is this right?
IenDzi replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
Hello, I backtested this EA with various parameters. I can say, that this EA is profitable, because of trailing stop. Without trailing stop and with same TP ir SL parameters, the system is 50 win % like others. I have coded many EA’s without trailing and getting about 50% winning and I have never thought adding trailing stop to it. It’s a gold…[Read more]
IenDzi replied to the topic True Bars/Candles and Market Sentiment in the forum Trading Systems Discussion 10 years, 8 months ago
I got this function:
if(Volume > Volume && MathAbs(Close-Open) < MathAbs(Close-Open) && Low < Low && Low < Close)
{
upArrow = Low – Distance;
}
if(Volume > Volume && MathAbs(Close-Open) < MathAbs(Close-Open) && High > High && High > Close)
{
dnArrow = High + Distance;
}
When I looked to the charts, I saw that there are candles, which h…[Read more]
IenDzi replied to the topic True Bars/Candles and Market Sentiment in the forum Trading Systems Discussion 10 years, 8 months ago
I got this function:
if(Volume > Volume && MathAbs(Close-Open) < MathAbs(Close-Open) && Low < Low && Low < Close)
{
upArrow = Low – Distance;
}
if(Volume > Volume && MathAbs(Close-Open) < MathAbs(Close-Open) && High > High && High > Close)
{
dnArrow = High + Distance;
}
When I looked to the charts, I saw that there are candles, which h…[Read more]
IenDzi replied to the topic True Bars/Candles and Market Sentiment in the forum Trading Systems Discussion 10 years, 8 months ago
Is there a mistake? Shouldn’t it be above the low?
IenDzi replied to the topic Nature of Markets – Power of Probability, Compounding & 1pip in the forum Trading Systems Discussion 10 years, 12 months ago
I got errors too
:2015.07.27 11:17:41.333 zero divide in ‘Saver0 – Money Flow v1.1.mq4’ (273,209)
2015.07.27 11:17:38.914 zero divide in ‘Saver0 – Money Flow v1.1.mq4’ (255,199)
IenDzi replied to the topic Nature of Markets – Power of Probability, Compounding & 1pip in the forum Trading Systems Discussion 11 years ago
Thanks for script, Saver0.
I’ am playing with it all day.
I downloaded ticks data from DucasCopy.
I got some statistics for 4 month data:
SL – 100 pips; TP- 3 pips;
6987853 ticks;
trades:13973706
win:13551401
loss:405265
Win%: 97.096%
Win+loss won’t be equal trades, because if the trade doesn’t get TP or SL hit, it’s in progress, so I…[Read more]
IenDzi replied to the topic Forex Tri-Arb signals as predictors of price in the forum General Discussions 11 years ago
All results of myfxbook is on Demo account. Not trustable results.
IenDzi replied to the topic Nature of Markets – Power of Probability, Compounding & 1pip in the forum Trading Systems Discussion 11 years ago
Today training trades :)
IenDzi replied to the topic Nature of Markets – Power of Probability, Compounding & 1pip in the forum Trading Systems Discussion 11 years ago
it’s 1 pip from open price:
When you sell it, TP is Bid – 1pip.
When you buy, TP is Ask + 1pip or Bid + spread + 1pip.
IenDzi replied to the topic Nature of Markets – Power of Probability, Compounding & 1pip in the forum Trading Systems Discussion 11 years ago
it’s 1 pip from open price:
When you sell it, TP is Bid – 1pip.
When you buy, TP is Ask + 1pip or Bid + spread + 1pip.
IenDzi replied to the topic Nature of Markets – Power of Probability, Compounding & 1pip in the forum Trading Systems Discussion 11 years ago
You are absolutely correct IenDzi! I feel so embarrassed for posting such inaccurate results. I looked at my script and I had loaded a sample.csv file with just a month of ticks when I had a 1.5GB file with millions of ticks. I’m running the stats for that file but it’s taking a really long time. I will let it run over night and post my res…
- Load More