fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. ryry
    3. Posts
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 15
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by ryry

    • RE: KAMA indicator wont show in backtesting!

      fixed it

      posted in Questions & Answers
      R
      ryry
    • RE: KAMA indicator wont show in backtesting!

      0_1535878335315_KAMA.ex4 - Let me know what you think.

      posted in Questions & Answers
      R
      ryry
    • KAMA indicator wont show in backtesting!

      Hi, i have recently created an EA which consists of two Kaufman's Adaptive moving averages crossing causing either a buy or sell. However when testing the new EA it does not appear to show both lines only the one. They both have different parameters so its a bit unclear as to why it does not work. Can somebody help please!

      posted in Questions & Answers
      R
      ryry
    • RE: EA to buy and sell after MACD cross confirmation

      I let it run and it seems to work perfectly.
      Thanks for your help!

      posted in Questions & Answers
      R
      ryry
    • RE: EA to buy and sell after MACD cross confirmation

      Im going to let it run for a day and see if it continues to close trades randomly.

      posted in Questions & Answers
      R
      ryry
    • RE: EA to buy and sell after MACD cross confirmation

      I haven't been using any expiration settings in my EA and I have also double checked everything to see if it would cause my EA to randomly close out open trades and found nothing. However looking through this forum I found one person who had the similar problem ( viewtopic.php?f=3&t=2600&p=6932&hilit=closing#p6932 ) and you said it could be the 'Virtual Stops' enabled in the coding. I checked that and it said (bool USE_VIRTUAL_STOPS = VIRTUAL_STOPS_ENABLED; ) so I then changed it to false, hopefully this will work.
      Many Thanks for your help!

      posted in Questions & Answers
      R
      ryry
    • RE: EA to buy and sell after MACD cross confirmation

      Hi again,
      I have started to test my EA on demo and discovered that after a few hours it decides to randomly close any open trade, causing me to lose money when I wanted the trade to go on until it came back into profit. I don't have and expiration settings or anything that would cause it to close. What do you reckon could be the problem, would you be able to help me please?

      posted in Questions & Answers
      R
      ryry
    • RE: EA to buy and sell after MACD cross confirmation

      Thanks for the response, I have played around with it and it doesn't seem to go my way, so I was wondering if I could close trades after 2 days instead of letting it run for ages. I have went through the time filters but it doesn't seem to work.
      Maybe im doing it wrong, can you help please?

      posted in Questions & Answers
      R
      ryry
    • RE: EA to buy and sell after MACD cross confirmation

      Hi there,
      Is there a block that will continue to take trades while there is an open order waiting to be closed in profit, as the EA currently stops taking anymore trades until the current open one has closed. The trades that are open have been set to only close once in profit, which can go on for ages, that is why I was wondering if more trades could be opened?

      Any ideas or advise would be greatly appreciated.
      Many thanks.

      posted in Questions & Answers
      R
      ryry
    • RE: EA to buy and sell after MACD cross confirmation

      Never mind, I was playing around with it today and figured it out.

      posted in Questions & Answers
      R
      ryry
    • RE: EA to buy and sell after MACD cross confirmation

      I believe I have now fixed the issue i had earlier with the EA. However i now face another problem and I have no idea why it is doing it but I have added the condition so trades will close once they have reached a certain amount however when a buy order closes for example it opens a sell order and closes straight away causing a loss of a small amount. Also the EA terminates itself for no reason. Could you please help and advise, I have no idea whats going wrong. Sorry for being a pain and thanks for your help so far!

      https://fxdreema.com/shared/DoQqqyqae
      Screen Shot 2016-01-25 at 14.33.54.png
      Screen Shot 2016-01-25 at 14.54.17.png
      Also above shows orders closing at one point instead individually closing when they all have reached there level of profit?

      ......
      Screen Shot 2016-01-25 at 14.33.54.png
      Screen Shot 2016-01-25 at 14.54.17.png

      posted in Questions & Answers
      R
      ryry
    • RE: EA to buy and sell after MACD cross confirmation

      How would I begin to program the variable so the EA will check before buy and sell, that the MACD has crossed. Im not used to coding so I'm not really sure how to do this. Would you be able to give me an example of how the variable should be?

      posted in Questions & Answers
      R
      ryry
    • RE: EA to buy and sell after MACD cross confirmation

      I have checked out the project advised and it seems its a similar issue. I have given it a try using the same principle in the other project and come up with this- https://fxdreema.com/shared/v52Gk2Hid

      I have ran it through mt4 ea tester and it seems to work however in some places where they both cross, orders aren't being placed but the majority of the time they are in the right place. Would you be able to take a look to check to see if it is ok. Also would I need to add 'once per bar' block to prevent multiple orders happening on the same candle.

      Many thanks for your help!

      posted in Questions & Answers
      R
      ryry
    • RE: EA to buy and sell after MACD cross confirmation

      Thanks for replying. I have created the EA with two condition blocks consisting of the stochastic cross and macd cross, however when i test the EA it doesn't place orders where I would like them to be as the EA only places an order when both Stochastic and MACD cross at the same time, however would it be possible if the EA was to wait a few bars for the MACD to cross after the Stochastic has already crossed and then place an order instead of being placed when they both have crossed in the same place.
      Link to the EA- https://fxdreema.com/shared/Luu4RR3Ed

      posted in Questions & Answers
      R
      ryry
    • RE: EA to buy and sell after MACD cross confirmation

      Hi ,
      would it be possible for my EA to place the order once the MACD has crossed?
      Screen Shot 2016-01-19 at 15.31.27.png
      Like it is shown in the image above I need an order to be placed once the MACD has crossed as confirmation after the Stochastic has crossed. I have made an EA already however it only places orders when both indicators line up and both cross around the same time instead of waiting a while for the confirmation of the MACD.
      What would you advise?

      ......
      Screen Shot 2016-01-19 at 15.31.27.png

      posted in Questions & Answers
      R
      ryry
    • 1 / 1