ITrend and Price Channel EA

 

This is a spin off of the elite section Brainwashing EA. This EA uses Price channel stop and the ITrend with adjustable levels.

The EA should place trades when ITrend greater than or equal to the ITrend level(gold dashed line) and the price channel stop changes from one color to the other. The ITrend level is controlled by figuring out the highest level of the up and down histo then multiplying that by the level factor, which in earlier fwd testing the level factor was .283, but the last couple of years seems that has changed, have it set to .10 now.

The EA has all the standard functions,trailing stop,ecn auto extra digit broker capability,close on price channel stop,etc.The indicators iTrend and PriceChannel_Stop_v1, need to be in your indicators folder. Did a back test on m15 timeframe, and not many trades, but seemed fairly accurate, one thing to remember the lower the level factor the more trades you will have, but maybe more risk involved.

ps) please download upgraded version v1.01

 

A picture of the setup!

Files:
it__pc.png  64 kb
 
mrtools:
A picture of the setup!

Hello!

Can you tell me what is : sStoploss, and TakeProfit, sTrailingstop (step trailing stop?). I used the default settings on AUDUSD 1 min but will not start!

What to do?

 
gtudor:
Hello!

Can you tell me what is : sStoploss, and TakeProfit, sTrailingstop (step trailing stop?). I used the default settings on AUDUSD 1 min but will not start!

What to do?

gtudor

From what I see from the code, parameters starting with "s" are for "short" and parameters starting with "l" are for "long" (EA can apply different values for long and short orders)

As of "will not start" : how does it not start?

 
mladen:
gtudor

From what I see from the code, parameters starting with "s" are for "short" and parameters starting with "l" are for "long" (EA can apply different values for long and short orders)

As of "will not start" : how does it not start?

Ea not start !

 
mladen:
gtudor

From what I see from the code, parameters starting with "s" are for "short" and parameters starting with "l" are for "long" (EA can apply different values for long and short orders)

As of "will not start" : how does it not start?

AUDUSD 1 min , my settings ;

Name_Expert=ITrend + PriceChannel

EcnBroker=1

UseAutoMagic=1

ManualMagic=79999990

lStopLoss=60.00000000

sStopLoss=60.00000000

lTakeProfit=300.00000000

sTakeProfit=300.00000000

lTrailingStop=35.00000000

sTrailingStop=35.00000000

Slippage=4

Lots=0.10000000

MaximumRisk=0.00000000

DecreaseFactor=3.00000000

INDICATOR_ONE=PriceChannel_Stop_v1

ChannelPeriod=9

Risk=0.30000000

entrybar=1

_INDICATOR_2=iTrend

Price=0

ItPeriod=13.00000000

PowerPeriod=13.00000000

MaMethod=3

LevelBars=300

LevelFactor=0.10000000

UsePCClose=1

cl.ChannelPeriod=9

cl.Risk=0.30000000

cl.entrybar=1

UseHourTrade=0

FromHourTrade=8

ToHourTrade=19

__fricl=Setting for friday positions close

CloseOnFriday=0

FridayCloseHour=21

FridayCloseMinute=59

ShowAlerts=0

clOpenBuy=16711680

clCloseBuy=16776960

clOpenSell=255

clCloseSell=15631086

 
gtudor:
AUDUSD 1 min , my settings ;

Name_Expert=ITrend + PriceChannel

EcnBroker=1

UseAutoMagic=1

ManualMagic=79999990

lStopLoss=60.00000000

sStopLoss=60.00000000

lTakeProfit=300.00000000

sTakeProfit=300.00000000

lTrailingStop=35.00000000

sTrailingStop=35.00000000

Slippage=4

Lots=0.10000000

MaximumRisk=0.00000000

DecreaseFactor=3.00000000

INDICATOR_ONE=PriceChannel_Stop_v1

ChannelPeriod=9

Risk=0.30000000

entrybar=1

_INDICATOR_2=iTrend

Price=0

ItPeriod=13.00000000

PowerPeriod=13.00000000

MaMethod=3

LevelBars=300

LevelFactor=0.10000000

UsePCClose=1

cl.ChannelPeriod=9

cl.Risk=0.30000000

cl.entrybar=1

UseHourTrade=0

FromHourTrade=8

ToHourTrade=19

__fricl=Setting for friday positions close

CloseOnFriday=0

FridayCloseHour=21

FridayCloseMinute=59

ShowAlerts=0

clOpenBuy=16711680

clCloseBuy=16776960

clOpenSell=255

clCloseSell=15631086

gtudor

Those are default settings. Tested it and it works. It will not open order immediately when you start to run it - you have to give it some time to work before an order is opened (it is not a scalping EA that will open 100 orders a day).

 
gtudor:
AUDUSD 1 min , my settings ;

Name_Expert=ITrend + PriceChannel

EcnBroker=1

UseAutoMagic=1

ManualMagic=79999990

lStopLoss=60.00000000

sStopLoss=60.00000000

lTakeProfit=300.00000000

sTakeProfit=300.00000000

lTrailingStop=35.00000000

sTrailingStop=35.00000000

Slippage=4

Lots=0.10000000

MaximumRisk=0.00000000

DecreaseFactor=3.00000000

INDICATOR_ONE=PriceChannel_Stop_v1

ChannelPeriod=9

Risk=0.30000000

entrybar=1

_INDICATOR_2=iTrend

Price=0

ItPeriod=13.00000000

PowerPeriod=13.00000000

MaMethod=3

LevelBars=300

LevelFactor=0.10000000

UsePCClose=1

cl.ChannelPeriod=9

cl.Risk=0.30000000

cl.entrybar=1

UseHourTrade=0

FromHourTrade=8

ToHourTrade=19

__fricl=Setting for friday positions close

CloseOnFriday=0

FridayCloseHour=21

FridayCloseMinute=59

ShowAlerts=0

clOpenBuy=16711680

clCloseBuy=16776960

clOpenSell=255

clCloseSell=15631086

Gtudor,putting it on a 1 minute chart to see what it does, will get back to you on it. On back test on 1 minute time frame it is working though

 

OK. I'm listening.

I put in 5 min by default but some changes to trailing.

Let's see what makes up tomorrow!

 
mrtools:
This is a spin off of the elite section Brainwashing EA. This EA uses Price channel stop and the ITrend with adjustable levels.

The EA should place trades when ITrend greater than or equal to the ITrend level(gold dashed line) and the price channel stop changes from one color to the other. The ITrend level is controlled by figuring out the highest level of the up and down histo then multiplying that by the level factor, which in earlier fwd testing the level factor was .283, but the last couple of years seems that has changed, have it set to .10 now.

The EA has all the standard functions,trailing stop,ecn auto extra digit broker capability,close on price channel stop,etc.The indicators iTrend and PriceChannel_Stop_v1, need to be in your indicators folder. Did a back test on m15 timeframe, and not many trades, but seemed fairly accurate, one thing to remember the lower the level factor the more trades you will have, but maybe more risk involved.

mmmm...31 trades in 17 months

 
dr.house7:
mmmm...31 trades in 17 months

Dr.house7, if you want more trades like I said,where you quoted me, lower the level factor for Itrend, and you can change settings as you prefer in the price channel stop and also the Itrend to have more trades, there are no set settings.

Reason: