fxcodebase-backup

DNC and MACD strategy

Source: https://fxcodebase.com/code/viewtopic.php?f=31&t=74272
Forum: 31 · Topic 74272 · 4 post(s)


DNC and MACD strategy

Apprentice · Sat Oct 21, 2023 12:47 pm

EURUSD H1 (10-21-2023 1946).png

Based on the request. https://fxcodebase.com/code/viewtopic.php?f=31&t=74265

DNC and MACD strategy.lua

DNC.lua https://fxcodebase.com/code/viewtopic.php?f=17&t=20


Re: DNC and MACD strategy

chai88888 · Sun Oct 22, 2023 8:33 pm

hi there the strategy does not open any trades

thanks


Re: DNC and MACD strategy

chai88888 · Sun Oct 22, 2023 10:07 pm

hello again

question what’s the test period for?

as I test the strategy found out there’s 3 minor problems

  1. sometimes it open trades sometime it dont
  2. lets says i have 1 open trade . and there another condition met means theres a break form DNC and cross on MACD zero line it will not open anotrher trade even if I No the position cap
  3. it open another trade even if there only 1 break from the DNC. rule is 1 break from the dnc 1 trade only. if there an open trade wait for the dnc break again and cross of the macd red line

thanks


Re: DNC and MACD strategy

Apprentice · Thu Oct 26, 2023 2:50 am

We have added your request to the development list. Development reference 972