Discussion of article "Price Action. Automating the Inside Bar Trading Strategy" - page 3

EA-trader
653
EA-trader  
Roberto Jacobs:
If you wrong determining support and resistance, will burn your money.

60 TRADES WIN -  40 LOSE LITTLE= PROFITABLE STRATEGY.

manivishnoi26
6
manivishnoi26  
EA-trader:

60 TRADES WIN -  40 LOSE LITTLE= PROFITABLE STRATEGY.

Where can i download this ea
tjanos2000
8
tjanos2000  

Thanks for the article and the attached code.  I find it very informative.


It seems to me that the comments for bullish/bearish candles are mixed up:

    if(timeBarInside!=iTime(Symbol(),Period(),1) && //no orders have been opened at this pattern yet
      _bar2size>bar2size && //the second bar is big enough, so the market is not flat
      open2>close2 && //the second bar is bullish
      close1>open1 && //the first bar is bearish
      high2>high1 &&  //the bar 2 High exceeds the first one's High
      open2>close1 && //the second bar's Open exceeds the first one's Close
      low2<low1)      //the second bar's Low is lower than the first one's Low
     { ...

In case of candle price open is greater than close that is bearish while close is grater than open is bullish.


I know it might be a bit late for the correction if I am right but I have just come across with your code and had a look.