Jump to content

FXGuru order management script


Recommended Posts

These are some interesting FREE order management scripts:

 

--- link is considered advertisement, mod. Post the script here, not the link to the website. ---

 

Features:

hidden stoploss, takeprofit..., automatic lot calculation, automatic stoploss, trailingstop according to previous price action, level modifing with mouse on chart...

 

FXGuru:

This is a script I created to manage my forex orders once I have placed them. It is designed to apply hidden levels to the last placed order belonging to the chart it is dropped on.

 

Inputs:

SL_Pips - Number of pips before the order is closed at Stop Loss

-1 : SL will be the size of the previous bar.

-2 : SL will be the current ATR (note that this uses my own FXGuru_Average_True_Range indicator which you must also have)

-3 : Sl will be set at the extreme of the previous or current bar (whichever is greater)

SL_Bar_Percentage : If using the -1 option, you can adjust the bar size to this percentage.

ATR_SL_Multiplier : If using the -2 option then the current ATR will be multiplied by this factor.

TP_Pips - Number of pips before the order is close at Take Profit

CH_Pips - Number of pips before half the order is closed

TS_Range - Size of your Trailing Stop

TSR_ : This options controls how your trailing stop will operate. A specific pip value is the equivelent to setting a normal MT4 Trailing Stop.

-1 and -2 opperate as described above.

-3 will trail your order based on the previous bar of the correct type. eg for a sell then your SL will move down to the high of the previous down (Close lower than Open) bar.

TSR_PreviousBar_Period : Allows you to use a specific timeperiod for calculating the previous bar method.

BE_Pips : This option controls the level at which your stop loss will be moved to Break Even (Order Open Price)

BE_Extra_Pips : These pips are added (or subtracted for a sell) to your Order Open Price. This allows you to use the common ‘+1? concept.

Slippage - Used if ‘Close Half’ feature is set

Using the File_Defaults options:

 

Please ensure you understand this feature.

 

Use_File_Defaults : If this is set to TRUE then the script will attempt to read your own settings from file. FALSE will use the settings shown in the inputs dialog.

Replace_File : If this is set to TRUE then the script will attempt to write the settings shown in the inputs dialog to file for later use. Note that seperate files will be created for each trade type AND currency.

File_Only : If this is set to TRUE then only the file creation/update will take place. NO MANAGEMENT or trading will occur.

 

And don’t forget that all levels can be adjusted manually by first double-clicking the line and then dragging it to a new position.

Link to comment
Share on other sites

  • 2 weeks later...
  • 5 months later...

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...