How can I get ea to trade buy /sell zones and lines that I manually draw on the charts?
-
I am pretty good at drawing good trading areas trend lines support resistance zones. However when price gets to these zones i drew I tend to freeze. I am trying to develop a expert advisor that will trade price action when price reaches my drawings on the chart. Can anyone help me? Not sure if this is possible but it would be great if this was possible.
-
Hi pippusher!
I think you can solve your problem when you just place your line and give it individual name like buy/sell/close
and if you want to place more than 1 line for buy and sell then give the lines names like buy1 / buy2 etc.Then just take in the tick-area the modul select Object by name an 2 conditions for cross up or down to buy or sell
like shown in the pic.
and conect it to buy/sell/close modul.
The stoploss and the takeprofit maybe could be defined the same way in the buy or sell modul itself or you define the close funktion (stoploss or takeprofit) the same way like the pic, but make shure you gave ever buy or sell order a specific group number if you want more than 1 order so that your stoploss or taktprofit lines only close the wanted orders.
For example : Draw line with name buy3 / create select Object Name:buy3 then conditions / then buy-modul give it Group no. 3
then draw line takeprofit or stoploss with Name: takeprofit3 or stoploss3 / then conditions / connect to the modul close trades filter by Group no. 3
I think this should work for you...
bye
Oliver from Germany