s-PSI @ SendOrder - script opening orders + BONUS

Sold 2
Refunds 0
Good feedbacks 0
Bad feedbacks 0

Do not pass by! (This or a similar script should be an asset of any trader) !!!


- You trade manually? The script is for YOU! - It automates the process of issuing orders! The script for everyday work!

- You trade using the MTS? The script is for YOU! - It will help further (and it occasionally happens) manually set the order, and which could then be used by your advisor to manage (you need a warrant with an identical advisor Magick).

What he knows:

* Put in the market any order with an assigned MagicNumber () (which you do not do by hand)!

* The default settings are configured orders! You can specify the color of the arrow, place orders, or leave the color setting "default" (standard color)!

* When setting the levels of Stop Loss and Take Profit, the script will automatically recalculate the value in view of the 5th sign (values \u200b\u200bare entered for the 4-yoh characters)!

* Check validity of the said search stops, and if necessary (customizable), corrects them, taking into account the minimum allowable stops (MODE_STOPLEVEL) DC!

* Allows you to add a comment to place orders!

* Not afraid of re-quotes !!! Guaranteed to place a market order - if a mistake is made as many times as you specify it. That is not unimportant in the troubled market!

* When placing the pending order does not necessarily indicate the price !!! It is enough to create a horizontal line chart (Object HLine) and give it the name "OpenPrice" and specify the type of a pending order - the script will put the price of the warrant at the horizontal line created by you!

* Will not interfere with (not will hang the terminal) other working your advisers - organized sequential access to the trading flow!


*** BONUS! The kit included a library for organizing the sequential access to the trade flow (instructions for its use are included)!


The main parameters of script:


extern string _____1_____ = "Magick order number";

extern int Magic = 880;

extern string _____2_____ = "type of order";

extern string Type_0 = "0 - BUY";

extern string Type_1 = "1 - SELL";

extern string Type_2 = "2 - BUYLIMIT";

extern string Type_3 = "3 - SELLLIMIT";

extern string Type_4 = "4 - BUYSTOP";

extern string Type_5 = "5 - SELLSTOP";

extern int TypeOrder = 0;

extern string _____3_____ = "The volume of the lot";

extern double Lot = 0.6;

extern string _____4_____ = "Levels of T / P and S / L";

extern int TakeProfit = 0;

extern int StopLoss = 0;

extern string _____5_____ = "The deviation from the price";

extern int Slip = 2;

extern string _____6_____ = "Open a pending order";

extern double PriceOpen = 0.0;

extern bool MarketWatch = False; // Request for execution of "Market Watch".

extern int modeSetPrice = 2; // Method of installation orders:

// 0 - at a specified price

// 1 - adjust prices

// 2 - input at current prices

extern string _____7_____ = "Comment to the order";

Comment it extern string = "";

extern string _____8_____ = "Time expiration pending order";

extern datetime Expiration = 0;

extern string _____9_____ = "color of the arrows on the chart";

extern color Arrow_color = C'0x32,0x32,0x32 ';

extern int NumberOfTry = 10; // The number of trade attempts
The archive all the necessary script files and libraries. The script is compiled in (not open source) form.