I will write an advisor free of charge - page 142

 
Vladimir Shevchenko:
I do not think it is because of the code, I am not an expert in this, but most likely it is because of the MM code. I tried it with three brokers, the same story.

I can't give you a hint then. The adviser has been sent to you. It works for me, at Alpari.

1 1999.02.08 16:00 sell stop 1 0.01 1.12185 0.00000 0.00000 0.00 10000.00
2 1999.02.08 16:00 sell stop 2 0.01 1.12175 0.00000 0.00000 0.00 10000.00
3 1999.02.08 16:00 sell stop 3 0.01 1.12165 0.00000 0.00000 0.00 10000.00
4 1999.02.08 16:00 sell stop 4 0.01 1.12155 0.00000 0.00000 0.00000 0.00 10000.00
5 1999.02.08 16:00 sell stop 5 0.01 1.12145 0.00000 0.00000 0.00 10000.00
6 1999.02.08 16:00 sell stop 6 0.01 1.12135 0.00000 0.00000 0.00 10000.00
7 1999.02.08 16:00 sell stop 7 0.01 1.12125 0.00000 0.00000 0.00 10000.00
8 1999.02.08 16:00 sell stop 8 0.01 1.12115 0.00000 0.00000 0.00 10000.00
9 1999.02.08 16:00 sell stop 9 0.01 1.12105 0.00000 0.00000 0.00 10000.00
10 1999.02.08 16:00 sell stop 10 0.01 1.12095 0.00000 0.00000 0.00 10000.00

 
Александр:

I can't give you a hint then. The adviser has been sent to you. It works for me, at Alpari.

1 1999.02.08 16:00 sell stop 1 0.01 1.12185 0.00000 0.00000 0.00 10000.00
2 1999.02.08 16:00 sell stop 2 0.01 1.12175 0.00000 0.00000 0.00 10000.00
3 1999.02.08 16:00 sell stop 3 0.01 1.12165 0.00000 0.00000 0.00 10000.00
4 1999.02.08 16:00 sell stop 4 0.01 1.12155 0.00000 0.00000 0.00000 0.00 10000.00
5 1999.02.08 16:00 sell stop 5 0.01 1.12145 0.00000 0.00000 0.00 10000.00
6 1999.02.08 16:00 sell stop 6 0.01 1.12135 0.00000 0.00000 0.00 10000.00
7 1999.02.08 16:00 sell stop 7 0.01 1.12125 0.00000 0.00000 0.00 10000.00
8 1999.02.08 16:00 sell stop 8 0.01 1.12115 0.00000 0.00000 0.00 10000.00
9 1999.02.08 16:00 sell stop 9 0.01 1.12105 0.00000 0.00000 0.00 10000.00
10 1999.02.08 16:00 sell stop 10 0.01 1.12095 0.00000 0.00000 0.00 10000.00

Yeah, interesting... Thanks Alexander for your help, I'll keep digging...
 

Hi all. Help me to complete the martin

//input int OpenTime =2;

extern int SL1 =20; //stop loss in pips.

extern int TP1 =30; //take profit in pips.

extern int int SL2 =20; //stop loss in pips.

extern int TP2 =30; //takeprofit in points.

extern double Lots =1; // lot

extern double KefLot =2; //the ratio of lot increase in case of loss

extern int MaxNom =6; //maximal length of the order series

extern string MM_type="---- MM SELECT: 0 - off, 1 - by trade, 2 - by series -------";

extern int Martin_Type =2; //0- off. 1 - lot increase by the loss per trade, 2 - by the loss per series.

extern double Risk =2; // risk (Lots=Balance*0.001*Risk) 0 - off.

extern double Lots_exp =2; // multiplier of orders of the series


void OnTick(){

if(OrdersTotal()==0){

OrderSend(NULL,OP_BUY,Lots,Ask,0,Ask-SL1*Point,Ask+TP1*Point);

OrderSend(NULL,OP_SELL,Lots,Bid,0,Bid+SL2*Point,Bid-TP2*Point);


Files:
 

Hello!

My request will turn out to be a trifle for you. I need to attach an alert to the basement indicator and when a buy or sell signal appears on the basement indicator, the corresponding arrow will be drawn on the main chart.

I think it will be clear on the screenshot.

I thank you in advance!

 
Greetings, please help to add support and resistance levels to the balance and funds indicator. The levels are set alternately, subject to the condition shown in the picture. B1 is the current balance, B2 is the pre-existing balance, B3 is the pre-existing balance. The levels will be signals for an upward or downward reversal.
Files:
 
sashachub:

Hi all. Help me write a simple EA. I want to test one strategy. I have plans to add some more.

1. Instantly open SELL and BUY on a certain currency pair at any TF at thesame time .

2. With adjustable lot (lot volume for example) from 0.01

3. TP and SL adjustable

4. At closing one SELL or BUY wouldreopen with anSELL and BUY as a next step .

If this is already available somewhere (could not find it), please, advise where. I don't need any unnecessary settings.

Thank you

Has anyone responded?
 
Igor Drozdov:
Good afternoon. What are the conditions for writing the Expert Advisor? Does the author of the TS have the right to freely distribute the Expert Advisor?

There is no copyright on the TS, as it is an algorithm (methodology). Only the code is copyrighted.

 
Алексей Тарабанов:

No, he doesn't. And neither does the programmer. It is their joint intellectual property. The rights of alienation are negotiated separately.

If I paid you, all the rights are mine. Well, and vice versa, too.

There is not a single correct phrase. Open the Copyright and Related Rights Act, it says it all!
 
Vasily Belozerov:
Has anyone responded?
No one, unfortunately.
 
Colleagues, hello!
I need help in "finishing" two EAs written for MT5.
The programmer, my friend who wrote them, had a serious car accident and when he will be able to continue working on them is still a question.
The Expert Advisors are almost completely done. I have only a few tweaks to make.
I will give you all the information you need for correction in person.
Who can do it?