fxcodebase-backup

MACD Zero Lines Cross Strategy

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


MACD Zero Lines Cross Strategy

Apprentice · Tue Jul 06, 2021 7:17 am

CHN50 m1 (07-06-2021 1414).png

Based on the request. https://fxcodebase.com/code/viewtopic.php?f=27&t=71293 Open Long MACD / Zero Line CrossOver Viceversa for Short

MACD Zero Lines Cross Strategy.lua


Re: MACD Zero Lines Cross Strategy

chai88888 · Thu Jun 12, 2025 2:22 am

hi there can you make please the lot size increasing option to this strategy

example 1st position 1lot 2nd postion 2lot

so on….

thanks


Re: MACD Zero Lines Cross Strategy

Apprentice · Thu Jun 12, 2025 12:12 pm

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


Re: MACD Zero Lines Cross Strategy

chai88888 · Sat Jun 14, 2025 10:11 pm

hello again just a addition to this strategy can you make. open the 2nd position buy at low and sell high

example if the strategy take a 1st buy position at the price of 10 the second buy position should be a custom distance lower distance to the 1st position. if i input 3pips the second buy position should be lower than 7. the strategy should NOT open higher than the price of 10.

and vice versa for sell it not should open a lower than the 1st position if i open a 1st sell position at the price of 10 the second position should be HIGHER THAN 10.

IF BUY SECOND POSITION SHOULD BE LOWER THAN THE FIRST POSITION . IF SELL THE NEXT POSITION SHOULD BE HIGHER THAN FIRST POSITION.

CAN YOU MAKE IT CUSTOM DISTANCE FROM THE 1ST TO 2ND POSITION

THANKS


Re: MACD Zero Lines Cross Strategy

Apprentice · Fri Jun 20, 2025 3:02 am

MACD_Zero_Lines_Cross_Strategy.lua

Try this version.