Jump to content

SetkaProfitStop v1


Recommended Posts

Sorry for my English, I write through the translator.

There are many shows of my work, I decided to present the latest development in person.

Councilor trading stop orders, we can put a fixed grid or make it a rubber.

You can put the variable in both sides of the lots, and many other things that do not understand, write to ask.

 

Options Advisor:

 

 

extern int Orders = 8, / / ​​maximum number of lines
                                         / / In each direction (not exceeding 99)
extern double lot1 = 0.5; / / LOTS sottvetstvuyuschih orders
extern double MinusLot = 0.0;
extern int FirstStep = 0, / / ​​the first step from the current price, if 0 then put Step
extern int Step = 0, / / ​​distance between the lines, if = 0 then the grid-locked at a price
extern int StepPlus = 0, / / ​​grid with an increase from the current price, 0 - flat grid
extern int SLoss = 0, / / ​​stoploss
extern int TProfit = 0, / / ​​takeprofit
extern double ProfitClose = 50; / / close all orders upon receipt of profit
extern double TrailingPercent = 50, / / ​​if 0, then a warrant may be locked for ProfitClose otherwise they trawl,
                                         / / From ProfitClose a setback in TrailingPercent percentage
extern int SleepTime = 0, / / ​​timeout after closing orders in minutes
extern int magic = 1000;
extern double Diapazon = 0.5; / / coefficient of expansion of the grid
extern bool CloseEndWeek = true; / / close the warrant at the end of the week if there is no open market
extern int HourClose = 18, / / ​​hour of closing orders on Friday
extern int Key = 0;

extern bool DrawInfo = true; / / output to the screen
extern bool SendMailInfo = true; / / Sending information to the post office

 

http://ruforum.mt5.com/threads/6045-Полуавтоматический-безиндикаторный-советник-СЕТКА?p=601384&viewfull=1#post601384

 

Happy trading!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...