I need a simple script. Can anyone really write it without reasoning and demagogy? I'm willing to pay.

 
Script specifications

The purpose of this script is to be able to open a EURJPY trade position if certain conditions are met.
Conditions:
1. pressing a certain key (combination of keys) on the keyboard.
2. direction of the Zig Zag indicator motion does not contradict to the pressed key.

Example:

An SELL order is opened if:
1. the key Shift+Z is pressed
2. at the moment of pressing the key, the Zig Zag indicator on minute candles moves not upwards.

Order BAY is opened under the condition: 1:
1.The Shift+X key is pressed
2.The moment the key is pressed, the Zig Zag indicator on the minute candlesticks is not moving downwards.

An order should be closed using one of the following schemes. 1:
1. Take-Profit triggering
2. Stop Loss triggering
3. when the loss (in pips) reaches a certain value

Before and during work, a user should be able to promptly change the following transaction parameters:
1) Size of the lot
2. Take-Profit
3. Stop Loss
4. Size of the loss (in pips) at which the position is closed
The maximum deviation of the price from the requested price (in pips) 5.
The possibility of deactivating a condition linked with the Zig Zag indicator

It concerns the Zig Zag indicator:
The work of the script should not depend on the parameters of the indicator (it may be different). Only its direction at the current time is important.
To work the indicator is used only on the minute candles.
 

It seems to me that:

2. Stop Loss triggering

и


3. Reaching a loss (in pips) of a certain value

These are one and the same thing.

 
D500_Rised:

It seems to me that:



2. Stop Loss triggering



и





3. Reaching a loss (in pips) of a certain value



These are one and the same.

It is not the same thing. A stop loss is needed for contingencies (internet outage, power outage or simply an earthquake). Reaching a loss (in pips) of a certain value is an ongoing operation.
 

something like:

off-line stop 50 pips

? online stop 20 pips. ? Not a difficult task in principle, if that.

Setting the hotkeys on the script is done by the user without software intervention.

 
D500_Rised:

something like:



off-line stop 50 pips



? online stop 20 pips. ? Not a difficult task in principle, if that.



Setting the hotkeys on the script is done by the user without software intervention.




off-line stop 50 pips

The online stop is 20 pips exactly.
So it's realistic to write?
 

2 key combinations per script is a pain in the ass through Win tools. Better to have 2 scripts where each has its own combination.

MT tools do not provide for Shift key combination (only alt or ctrl).

Перед началом и во время работы у пользователя должна быть возможность оперативно изменять следующие параметры сделки:
1. Величина Лота
2. Тейк-Профит
3. Стоп-Лосс
4. Величина убытка (в пунктах), при котором позиция закрывается
5. Максимальное отклонение цены от запрошенной (в пунктах)
6. Возможность отключения условия связанного с индикатором Zig Zag

Each time you call the script, you will have to make adjustments to these parameters, as they will always be loaded by default, and may not match your needs at that time. Do you need it?

 
D500_Rised:

2 key combinations per script is a pain in the ass through Win tools. Better to have 2 scripts where each has its own combination.



The MT tools do not allow the use of the Shift key as a combination (only alt or ctrl).




The user should be able to quickly change the following transaction parameters before and during operation:

1. Lot size

2. Take Profit

3. Stop Loss

4. Size of loss (in pips) at which the position is closed

5. The maximum deviation of the price from the requested price (in pips)

6. Possibility to disable the condition associated with the Zig Zag indicator




Each time you call the script, you will have to make adjustments to these parameters, as they will always be loaded by default, and may not match your needs at that time. Do you need it?





(The user must be able to change the following transaction parameters promptly before and during operation)..... change to (The user must be able to change the following transaction parameters promptly before and during operation)
 
D500_Rised:

2 key combinations per script is a pain in the ass through Win tools. Better to have 2 scripts where each has its own combination.



The MT tools do not allow the use of the Shift key as a combination (only alt or ctrl).




The user should be able to quickly change the following transaction parameters before and during operation:

1. Lot size

2. Take Profit

3. Stop Loss

4. Size of loss (in pips) at which the position is closed

5. The maximum deviation of the price from the requested price (in pips)

6. Possibility to disable the condition associated with the Zig Zag indicator




Each time you call the script, you will have to make adjustments to these parameters, as they will always be loaded by default, and may not match your needs at that time. Do you need it?





It doesn't matter what the keys are or how many scripts there are. The important thing is that the system works.
 
D500_Rised:

2 key combinations per script is a pain in the ass through Win tools. Better to have 2 scripts where each has its own combination.

MT tools do not provide for Shift key combination (only alt or ctrl).


The author of the topic is probably modestly silent about the need to catch system events of the keyboard or some other program, and not the active chart window in MT.

 
Integer:
D500_Rised:

2 key combinations per script is a pain in the ass through Win tools. Better to have 2 scripts where each has its own combination.



MT tools do not allow Shift key combination (only alt or ctrl).






The author of the topic is probably modestly silent on the fact that you need to catch system events from the keyboard or some other program, and not from the active chart window in MT.

This is indeed true. I did not mention it because it does not make any difference to the script itself
 
borman:
Integer:
D500_Rised:

2 key combinations per script is a pain in the ass through Win tools. Better to have 2 scripts where each has its own combination.



MT tools do not allow Shift key combination (only alt or ctrl).






The author of the topic is probably modestly silent on the fact that you need to catch system events from the keyboard or some other program, and not from the active chart window in MT.

This is indeed the case. I didn't mention it because it doesn't make any difference to the script itself.


Dausch. © Kisa Vorobyaninov
Reason: