Help me to modify my code

ridwan_007

Trader
Nov 16, 2021
6
0
17
25
hello all ,, can u help me to modify my code ?... i wanna build strategy like this https://telegra.ph/file/fbdc32ed144011a1c8c0a.jpg with Fxgen and the model is like this https://telegra.ph/file/10ac5ab589d8a46a05554.jpg

as u can see the model is not simple ... if the order reach Buyorder5 and condition buyorder5 is -20pips the ea not open trade again because the model just for 5 order .. if u wanna make ea reach 100 order averaging u must build 100 model too... this is not simple because too much code .. so i wanna make averaging reach unlimited order with single model like this https://telegra.ph/file/0eb47e0610cdfff05c95a.jpg ..and i did it but the lot not multiply like this https://telegra.ph/file/ea39fa08345a5f6cc8dce.jpg

im trying too add some code multiple and magicnumber like this https://telegra.ph/file/43896c11fde95bcdd47b9.jpg and this https://telegra.ph/file/d4d4dae33532228952c96.jpg but is not working .. pelase help me to modify my mql4..

this is original code from Fxgen https://ufile.io/d5sn2rl8 (Single Model)
and this is my modify code from original Fxgen https://ufile.io/bs4juax3
 

Attachments