need help creating
-
Hi guys I am triing to make a mac-d adviser that trades on an hourly chart when candle is above or below the signal line when i create it only the buy condition places trades with no sell trades and i don't understand why. I have tested multiple ways to try achieve this goal but with no luck. When i use condition mac-d >< value it trades unreliably but when i use candle >< mac-d signal it trade good but only for buys as i sad earlier so if you can help would appreciate it very much
-
@gunji80 May you share your project?
-
https://fxdreema.com/shared/HEfd1mQeb
this setup only does buy trades I have been back and forth on this issue and I have been told multiple things but i just can not get it to work correctly -
this is how i manually trade and it works fine in manual setup but for some reason i can not get it setup to auto trade this way
-
@gunji80 If you compare price with an oscillator, that can not work! Hover over the values of macd indicator and you will recognize that it doesn't have a price value!
-
so why does it trade on buys then?
-
sorry i don't understand the technical s to the indicators but i know there is no price vale to mac-d it is numeric inputs but on the mac-d indicator we must put something in the price selection eg open, close, low, high...
-
@gunji80 Because price is bigger than macd or signal line value. If MACD is something like 0.00035 and price is 1.09123 for eurusd, price will always be bigger unless eurusd gets almost worthless.
-
i m not trying to use price value anyway i m more interested in the candle open/close above and below the signal line. on mac-d the mainline is used as bars so when the histo main is above the signal i want it to buy when it below i want it to sell is this even possible to do?
-
@trader-philipps The price selections is for the moving averages that are involved in calculating the macd value. As on chart you have bars and you have to decide, which of the prices that make the bar is the one to take (open, close, highest, lowest, some averaged prices ...) the average over multiple bars from.
-
-
https://fxdreema.com/shared/VVoF1JtO
this is the project corrected but still not solved -
@gunji80 You don't understand the issue! MACD is the difference between 2 moving averages and NOT!!! a price.
-
thanks for the mac-d explanation I have read it but sorry trader.philipps I still don't understand why the robot only half works I would think if it a condition issue it would not trade at all that is what is confusing me. Is it possible to do what I am triing to do in the condition blocks to trade the same way as I am triing to get it to and if so how is it done
-
if not i will just keep trading manually using the strategy
-
main line x>< signal line is so inaccurate it is just crap

-
Make a screenshot of your chart including the indicator and mark your buy and sell points.
Then we can figure out the how the conditions may be. -

see why i try use candle id and no trade wanted if not below or above the 0.00 mark -

so this how i use to indicate trend then I buy/sell manually using candle id thats why I try create bot to trade the same now you understand? -
is possible for trend stop after next cross but not usual it usually change close to 0.00 i find but not 100% of time