Scripts: ZeroLevel.mq4

 

ZeroLevel.mq4:

The script make TakeProfit and StopLoss on price, where total profit for all of the opened positions will have non-negative.

Author: Vadim

 

it's very usefull for me...
what happen if i change the value of parameter --> double zeroprice=20; //i mean 20 pips.
please assist..
regards.

 
HajarWae:

it's very usefull for me...
what happen if i change the value of parameter --> double zeroprice=20; //i mean 20 pips.
please assist..
regards.



the zeroprice its market price! it not pips!


You can only make


zeroprice = zeroprice + 20*Point; // it ZeroLevel +20 pips


or


zeroprice = zeroprice - 20*Point; // it ZeroLevel - 20 pips

 

Hi THERE
I AM A NEWBIE IN FOREX AND STILL LEARNING, I KNOW HOW TO DOWN LOAD INDICATORS AND ATTACH THEM TO THE CHART.
I AM IN MT4 DEMO ACCOUNT.I HAVE DOWNLOADED ZERO LEVEL INDICATOR SUCCESSFULLY AND IT SHOWS IN MY INDICATORS
LIST, BUT WHEN I INSERT THIS TO MY 5 MIN EUR/USD CHART I CANT SEE IT
ANY SUGGESSIONS OR HELP WILL BE APPRECIATED

THANKS IN ADVANCE
ABDUL

 

What would be usefull would be making the comments in english so that people who doesn't read russian could understand what's goin on in alerts. To modify and understand comments are sometime usefull for coders too.

 
Does this script automatically moves SL to BE level right?
Reason: