SL & TP to Open Order Pip Distance Calculator

 

SL+TP-OE PIP CALC INDY (Indicator)Info: 1) Place files in experts/indicator folder2) SL price to Order Execution price pip calculation. 3) TP price to Order Execution price pip calculation.4) Pip calculation can be set to pips or fractional pips (20 pips / 200 fpips)*5) Order Tickets can be set to show or hide.6) [Show_SL] set to false hides all SL pip & ticket text.7) [Show_TP] set to false hides all TP pip & ticket text.8) SL & TP colors can be changed.9) Text size can be changed.10) Text can be positioned right or left of current price bar.** ** If Chart-Shift is off SL & TP text may be off the right of the chart. To move text left, set Move_Text_L_or_R to a higher number.* Non digit Symbols will default to pips regardless if fpips is set to to [true]. Notes: In slow market there will be a lag before text catches up with a line moved. Once there is a price change the text should jump to the line. My understanding is only scripts can attain analogous incremental movement or count - i.e. if a line is moved the pip count will run up 1,2,3,4 etc, in real time independent of tick events - however, sure I saw a fix for indicator lag. Will follow up for future improvement as this indicator was developed primary for use with a script. If you are using the Easy Order with solid lines and the default MT4 dot-hash line remains behind when the solid line is moved, or the pip and ticket text remains behind,ensure that the Easy Order combo box is on the chart, or right click the combo box and left click Refresh Lines - the two line will synchronize. Please report any bugs. Disclaimer and Caution: The indicator is submitted for demo use – used with live trading is at user's risk - please test on demo and ensure all pip calculations and all ticket numbers are correct and function without error across all order types – market, stop, limit, etc. These can be checked against ticket and price info in the trade terminal. (View –> Terminal or Ctrl+T)Acknowledgement: Two coders helped sort out the required code which proved beyond my ability to put 2 and 2 together. mladen (waived the magic wand and all worked) and dabbler are thanked and commented-in, in the revised code and anyone interested can find details and links therein.Easy Order Script can be got here - its FREE -Easy Order

 

SL+TP-OE PIP CALC INDY – v2 (Indicator)

Updates:1. Order Type Discrimination. 2. SL & TP and OE price. 3. Enhanced user defined labels.

FunctionCalculates pip difference between Order Execution (OE) price andSL & TP price.

· Places Text labels at SL & TP lines: Order Type, Ticket number, SL & TP price, Pip calculation and Pip label.

· Places Text labels at OE lines: Order Type, Ticket number and OE price.

· Can be used with MT4 defaults and any other suitable MT4 application.

Labels:Labels can be user defined - see hide options in Input Window

User defined examples

  • Sell-SL #2751709 * 1.04116 * 276.9 pps
  • Sell-SL #2751709 * 2769 f-pps *
  • #2751709 * 276.9
  • Sell-SL * 2769
  • 1.04116 * 276.9
  • 2769
  • BS-OE #2738254 * 1.02311

* Non digit Symbols will default to pps regardless if f-pps (fractional pips - points / 3 & 5 digit pricing) is set to to [true].

Images, Pip calculation Check Tests and Download Here

 

SL+TP-CP PIP DIST INDI – v2 (Indicator)

Function

  • Calculates pip difference betweenCurrent price and SL & TPprice.
  • Places Text labels at SL & TP lines: Order Type, Ticket number, SL & TP price, Pip calculation and Pip label.
  • Places Text labels at Order Execution (OE) lines: Order Type, Ticket number and OE price.
  • Can be used with MT4 defaults and any other suitable MT4 application such as sangmane’s Easy Order script.
Labels:Labels can be user defined - see hide options in Input Window

User defined examples
  • Sell-SL #260844327 * 1.04606 * 322.4 pps
  • Sell-SL #260844327 * 3224 f-pps *
  • #260844327 * 3224
  • Sell-SL * 322.4
  • 1.04606 * 3224
  • 322.4
  • BS-OE #260866924 * 1.02015
  • * Non digit Symbols will default to pps regardless if f-pps (fractional pips - points / 3 & 5 digit pricing) is set to to [true].

    Images, Pip calculation Check Tests and

    Download Here.

     

    Hello file45,

    It will be great if you can also have the eventual Profit on the stop-limit lines in order to have a more strict money-management.

    Thanks,

    PS I'm trying to improve your indicator but I'm not a programmer :/

     
    usdticks:
    Hello file45,

    It will be great if you can also have the eventual Profit on the stop-limit lines in order to have a more strict money-management.

    Thanks,

    PS I'm trying to improve your indicator but I'm not a programmer :/

    I doubt that he will do that

    He posed that 3 years ago

     
    morro:
    I doubt that he will do that He posed that 3 years ago

    You're right morro, but ... anybody may help??

    Thanks

    Reason: