MACD Zero Lines Cross Strategy

Strategies are published here.

Moderator: admin

MACD Zero Lines Cross Strategy

Postby 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
(30.96 KiB) Downloaded 740 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 39311
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MACD Zero Lines Cross Strategy

Postby 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
chai88888
FXCodeBase: Graduate
 
Posts: 231
Joined: Tue Jun 07, 2016 7:18 am

Re: MACD Zero Lines Cross Strategy

Postby Apprentice » Thu Jun 12, 2025 12:12 pm

We have added your request to the development list.
Development reference 386
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 39311
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MACD Zero Lines Cross Strategy

Postby 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
chai88888
FXCodeBase: Graduate
 
Posts: 231
Joined: Tue Jun 07, 2016 7:18 am

Re: MACD Zero Lines Cross Strategy

Postby Apprentice » Fri Jun 20, 2025 3:02 am

MACD_Zero_Lines_Cross_Strategy.lua
(34.2 KiB) Downloaded 205 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 39311
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 2 guests