Experts: Well Martin - page 2

 

Compile errors, how to fix?

What should I download?

In the traid inclusions - there is.


 
EA for mt5.
Roman Shiredchenko:

Errors during compilation, how to fix?

What should I add?

In the traid inclusions - there is.

Roman, this is an EA for mt5.

[Deleted]  
Roman Shiredchenko:

Compile errors, how to fix?

What should I download?

In the traid inclusions - there is.


wellmartin.mq5 should be
 
Got it. Thank you. There's a lot of terminals. Stupid.
 
About ADX, someone explain the logic(( How in this algorithm it filters the BB itself?
 
BestBroker:
Can someone explain the logic of ADX(( How does it filter the BB itself in this algorithm?
If ADX is less than a certain level, the market is considered to be calm. It is also possible to determine trend or flat by the spread of Bollinger Bands.
 
Andrew Kornishkin:
If ADX is less than a certain level, the market is considered to be calm. It is also possible to determine trend or flat by the spread of Bollinger Bands.

Thank you for your comment, but I understand that.

I would like to understand in this EA what filters ADX.

For example, it has a condition that if ADX is below some level, if BB is broken from one of the extreme sides towards the centre => do not open a trade.

Or the condition - ADX bullish trend prevails + to ADX level is high => if the upper band is broken from top to bottom => do not open the trade.

 
BestBroker:

Thanks for the comment, but I understand that.

I would like to understand in this EA what filters ADX.

For example, it has a condition that if ADX is below some level, if the BB is broken from one of the extreme sides towards the centre => do not open a trade.

Or the condition - ADX bullish trend prevails + to ADX level is high => if the upper band is broken from top to bottom => do not open the trade.

Can't you look at the code?

 
Roman Shiredchenko:

Why don't you take a look at the code?

I'm not a programmer, and I'm very sorry that I don't understand even basic operators and functions.

If it's not too difficult, can you explain it in two sentences?

 
bool Buy=Ask<BBLow[1] && ADX[1]<ADXLevel && (LastDealType()==0 || LastDealType()==2);
//--- Breakdown of the lower boundary of Bolinger Bands and opposite trade

bool Sell=Bid>BBUp[1] && ADX[1]<ADXLevel && (LastDealType()==0 || LastDealType()==1)

Does this mean that only a trend check is performed before entering on a BB breakdown?

i.e. if the ADX trend is bullish (+DI is higher than -DI) an entry will be made on the breakdown of the lower BB boundary, but if the ADX trend is bearish (-DI is higher than +DI) no entry will be made on the breakdown of the lower BB?

The main line(MAIN_LINE) does not count at all?