Техническое задание
Hi, I would like to ask you to write the program:
Starting position - 0.01 (settings)
TP
SL
The program will enter buy and sell at a time (Possibility to choose one or the other option and / or both at once buy and sell)
Autolot (on/off)
Can display the margin in the graph
Command Line Limiter in (Pair)
The program will enter RSI 50 (I choose on what level I) (on /off).
The program will enter Stochatick 50 (I choose on what level I) (on /off)
The program will enter ATR 0.30 (I choose on what level I) (on /off)
Possibility to set input based on time: (on/off)
Set me on a specific day: like Monday hours eg 23:00 (on/off)
Enter the instruction always 14 (on/off)
Instruct every xy minute (for example, every 30 minutes) (on/off)
Trades are given in round numbers: .50 .00 .00050 .00000 .00100 .00150 etc. (on(off)
The program can calculate fees and swaps from opened positions and thus increases the stoploos to positive numbers. He works with each position
Example: Charge + swap equal to 10 usd stoploss will be set by 10 to set + minus earned minimum profit in points.
Principle:
Buy and sell stores are set up. The moment you see the program buy a leg is in positive profit. Sets the buy noze SL to positive numbers (+ spread and swap). A sets the smallest possible TP (+ spread and swap) on the sell leg.
The moment the buy leg closes with a positive sl. The program counts each tick to create SL in positive numbers (+ spread and swap) and moves TP to xy point from SL. When the sell position is open, profit is shifted to SL positive and TP to trend. (SL does not return closer to the input).
If sell does not create Sl in positive numbers due to the impossibility of moving on the market.
Porgam constantly counts on the creation of the Head position of Buy (and returns to the beginning of the principle). As close as possible to the past entry of the shopping leg
When the sell position is open, profit is shifted to SL positive and TP to trend. (SL does not return closer to the input)
Of course, the program also works mirrored !! (If the first one closes the sell leg).
If I use only one leg (one direction = buy or sell). The variation of the sl response to the positive numbers and the TP for each already opened position applies
TP = Traget Price
SL = Stop loos