PINE LIBRARY
تم تحديثه Milvetti_Pineconnector_Library

Library "Milvetti_Pineconnector_Library"
This library has methods that provide practical signal transmission for Pineconnector.Developed By Milvetti
buy(licenseId, symbol, risk, sl, tp, beTrigger, beOffset, trailTrig, trailDist, trailStep, atrTimeframe, atrTrigger, atrPeriod, atrMultiplier, atrShift, spread, accFilter, secret, comment)
Create a buy order message
Parameters:
licenseId (string): License Id. This is a unique identifier found in the Pineconnector Licensing Dashboard.
symbol (string): Symbol. Default is syminfo.ticker
risk (float): Risk. Function depends on the “Volume Type” selected in the EA
sl (float): StopLoss. Place stop-loss. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
tp (float): TakeProfit. Place take-profit. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
beTrigger (float): Breakeven will be activated after the position gains this number of pips. Ensure > 0
beOffset (float): Offset from entry price. 0 means the SL will be placed exactly at entry price. 1 means 1 pip above the entry price for buy trades and 1 pip below for sell trades.
trailTrig (int): Trailing stop-loss will be activated after a trade gains this number of pips. Default is 0(inactive)
trailDist (int): SL will be opened at traildist after trailtrig is met, even if you do not have a SL placed.. Default is 0(inactive)
trailStep (int): Moves trailing stop-loss once price moves to favourable by a specified number of pips. Default is 0(inactive)
atrTimeframe (string): ATR Trailing Stop will be based on the specified timeframe in minutes and will only update once per bar close. Default is Timeframe.Period
atrTrigger (float): Activate the trigger of ATR Trailing after market moves favourably by a number of pips. Default is 0(inactive)
atrPeriod (int): ATR averaging period. Default is 0
atrMultiplier (float): Multiple of ATR to utilise in the new SL computation. Default is 1
atrShift (float): Relative shift of price information, 0 uses latest candle, 1 uses second last, etc. Default is 0
spread (float): Enter the position only if the spread is equal or less than the specified value in pips. Default is 0(inactive)
accFilter (float): Enter the position only if the account requirement is met. Default is 0(inactive)
secret (string)
comment (string): Comment. Add a string into the order’s comment section. Default is "Symbol+Timeframe"
sell(licenseId, symbol, risk, sl, tp, beTrigger, beOffset, trailTrig, trailDist, trailStep, atrTimeframe, atrTrigger, atrPeriod, atrMultiplier, atrShift, spread, accFilter, secret, comment)
Create a buy order message
Parameters:
licenseId (string): License Id. This is a unique identifier found in the Pineconnector Licensing Dashboard.
symbol (string): Symbol. Default is syminfo.ticker
risk (float): Risk. Function depends on the “Volume Type” selected in the EA
sl (float): StopLoss. Place stop-loss. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
tp (float): TakeProfit. Place take-profit. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
beTrigger (float): Breakeven will be activated after the position gains this number of pips. Ensure > 0
beOffset (float): Offset from entry price. 0 means the SL will be placed exactly at entry price. 1 means 1 pip above the entry price for buy trades and 1 pip below for sell trades.
trailTrig (int): Trailing stop-loss will be activated after a trade gains this number of pips. Default is 0(inactive)
trailDist (int): SL will be opened at traildist after trailtrig is met, even if you do not have a SL placed.. Default is 0(inactive)
trailStep (int): Moves trailing stop-loss once price moves to favourable by a specified number of pips. Default is 0(inactive)
atrTimeframe (string): ATR Trailing Stop will be based on the specified timeframe in minutes and will only update once per bar close. Default is Timeframe.Period
atrTrigger (float): Activate the trigger of ATR Trailing after market moves favourably by a number of pips. Default is 0(inactive)
atrPeriod (int): ATR averaging period. Default is 0
atrMultiplier (float): Multiple of ATR to utilise in the new SL computation. Default is 1
atrShift (float): Relative shift of price information, 0 uses latest candle, 1 uses second last, etc. Default is 0
spread (float): Enter the position only if the spread is equal or less than the specified value in pips. Default is 0(inactive)
accFilter (float): Enter the position only if the account requirement is met. Default is 0(inactive)
secret (string)
comment (string): Comment. Add a string into the order’s comment section. Default is "Symbol+Timeframe"
buyLimit(licenseId, symbol, pending, risk, sl, tp, beTrigger, beOffset, trailTrig, trailDist, trailStep, atrTimeframe, atrTrigger, atrPeriod, atrMultiplier, atrShift, spread, accFilter, secret, comment)
Create a buy limit order message
Parameters:
licenseId (string): License Id. This is a unique identifier found in the Pineconnector Licensing Dashboard.
symbol (string): Symbol. Default is syminfo.ticker
pending (float): Computing pending order entry price. EA Options: Pips, Specified Price, Percentage
risk (float): Risk. Function depends on the “Volume Type” selected in the EA
sl (float): StopLoss. Place stop-loss. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
tp (float): TakeProfit. Place take-profit. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
beTrigger (float): Breakeven will be activated after the position gains this number of pips. Ensure > 0
beOffset (float): Offset from entry price. 0 means the SL will be placed exactly at entry price. 1 means 1 pip above the entry price for buy trades and 1 pip below for sell trades.
trailTrig (int): Trailing stop-loss will be activated after a trade gains this number of pips. Default is 0(inactive)
trailDist (int): SL will be opened at traildist after trailtrig is met, even if you do not have a SL placed.. Default is 0(inactive)
trailStep (int): Moves trailing stop-loss once price moves to favourable by a specified number of pips. Default is 0(inactive)
atrTimeframe (string): ATR Trailing Stop will be based on the specified timeframe in minutes and will only update once per bar close. Default is Timeframe.Period
atrTrigger (float): Activate the trigger of ATR Trailing after market moves favourably by a number of pips. Default is 0(inactive)
atrPeriod (int): ATR averaging period. Default is 0
atrMultiplier (float): Multiple of ATR to utilise in the new SL computation. Default is 1
atrShift (float): Relative shift of price information, 0 uses latest candle, 1 uses second last, etc. Default is 0
spread (float): Enter the position only if the spread is equal or less than the specified value in pips. Default is 0(inactive)
accFilter (float): Enter the position only if the account requirement is met. Default is 0(inactive)
secret (string)
comment (string): Comment. Add a string into the order’s comment section. Default is "Symbol+Timeframe"
buyStop(licenseId, symbol, pending, risk, sl, tp, beTrigger, beOffset, trailTrig, trailDist, trailStep, atrTimeframe, atrTrigger, atrPeriod, atrMultiplier, atrShift, spread, accFilter, secret, comment)
Create a buy stop order message
Parameters:
licenseId (string): License Id. This is a unique identifier found in the Pineconnector Licensing Dashboard.
symbol (string): Symbol. Default is syminfo.ticker
pending (float): Computing pending order entry price. EA Options: Pips, Specified Price, Percentage
risk (float): Risk. Function depends on the “Volume Type” selected in the EA
sl (float): StopLoss. Place stop-loss. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
tp (float): TakeProfit. Place take-profit. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
beTrigger (float): Breakeven will be activated after the position gains this number of pips. Ensure > 0
beOffset (float): Offset from entry price. 0 means the SL will be placed exactly at entry price. 1 means 1 pip above the entry price for buy trades and 1 pip below for sell trades.
trailTrig (int): Trailing stop-loss will be activated after a trade gains this number of pips. Default is 0(inactive)
trailDist (int): SL will be opened at traildist after trailtrig is met, even if you do not have a SL placed.. Default is 0(inactive)
trailStep (int): Moves trailing stop-loss once price moves to favourable by a specified number of pips. Default is 0(inactive)
atrTimeframe (string): ATR Trailing Stop will be based on the specified timeframe in minutes and will only update once per bar close. Default is Timeframe.Period
atrTrigger (float): Activate the trigger of ATR Trailing after market moves favourably by a number of pips. Default is 0(inactive)
atrPeriod (int): ATR averaging period. Default is 0
atrMultiplier (float): Multiple of ATR to utilise in the new SL computation. Default is 1
atrShift (float): Relative shift of price information, 0 uses latest candle, 1 uses second last, etc. Default is 0
spread (float): Enter the position only if the spread is equal or less than the specified value in pips. Default is 0(inactive)
accFilter (float): Enter the position only if the account requirement is met. Default is 0(inactive)
secret (string)
comment (string): Comment. Add a string into the order’s comment section. Default is "Symbol+Timeframe"
sellLimit(licenseId, symbol, pending, risk, sl, tp, beTrigger, beOffset, trailTrig, trailDist, trailStep, atrTimeframe, atrTrigger, atrPeriod, atrMultiplier, atrShift, spread, accFilter, secret, comment)
Create a sell limit order message
Parameters:
licenseId (string): License Id. This is a unique identifier found in the Pineconnector Licensing Dashboard.
symbol (string): Symbol. Default is syminfo.ticker
pending (float): Computing pending order entry price. EA Options: Pips, Specified Price, Percentage
risk (float): Risk. Function depends on the “Volume Type” selected in the EA
sl (float): StopLoss. Place stop-loss. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
tp (float): TakeProfit. Place take-profit. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
beTrigger (float): Breakeven will be activated after the position gains this number of pips. Ensure > 0
beOffset (float): Offset from entry price. 0 means the SL will be placed exactly at entry price. 1 means 1 pip above the entry price for buy trades and 1 pip below for sell trades.
trailTrig (int): Trailing stop-loss will be activated after a trade gains this number of pips. Default is 0(inactive)
trailDist (int): SL will be opened at traildist after trailtrig is met, even if you do not have a SL placed.. Default is 0(inactive)
trailStep (int): Moves trailing stop-loss once price moves to favourable by a specified number of pips. Default is 0(inactive)
atrTimeframe (string): ATR Trailing Stop will be based on the specified timeframe in minutes and will only update once per bar close. Default is Timeframe.Period
atrTrigger (float): Activate the trigger of ATR Trailing after market moves favourably by a number of pips. Default is 0(inactive)
atrPeriod (int): ATR averaging period. Default is 0
atrMultiplier (float): Multiple of ATR to utilise in the new SL computation. Default is 1
atrShift (float): Relative shift of price information, 0 uses latest candle, 1 uses second last, etc. Default is 0
spread (float): Enter the position only if the spread is equal or less than the specified value in pips. Default is 0(inactive)
accFilter (float): Enter the position only if the account requirement is met. Default is 0(inactive)
secret (string)
comment (string): Comment. Add a string into the order’s comment section. Default is "Symbol+Timeframe"
sellStop(licenseId, symbol, pending, risk, sl, tp, beTrigger, beOffset, trailTrig, trailDist, trailStep, atrTimeframe, atrTrigger, atrPeriod, atrMultiplier, atrShift, spread, accFilter, secret, comment)
Create a sell stop order message
Parameters:
licenseId (string): License Id. This is a unique identifier found in the Pineconnector Licensing Dashboard.
symbol (string): Symbol. Default is syminfo.ticker
pending (float): Computing pending order entry price. EA Options: Pips, Specified Price, Percentage
risk (float): Risk. Function depends on the “Volume Type” selected in the EA
sl (float): StopLoss. Place stop-loss. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
tp (float): TakeProfit. Place take-profit. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
beTrigger (float): Breakeven will be activated after the position gains this number of pips. Ensure > 0
beOffset (float): Offset from entry price. 0 means the SL will be placed exactly at entry price. 1 means 1 pip above the entry price for buy trades and 1 pip below for sell trades.
trailTrig (int): Trailing stop-loss will be activated after a trade gains this number of pips. Default is 0(inactive)
trailDist (int): SL will be opened at traildist after trailtrig is met, even if you do not have a SL placed.. Default is 0(inactive)
trailStep (int): Moves trailing stop-loss once price moves to favourable by a specified number of pips. Default is 0(inactive)
atrTimeframe (string): ATR Trailing Stop will be based on the specified timeframe in minutes and will only update once per bar close. Default is Timeframe.Period
atrTrigger (float): Activate the trigger of ATR Trailing after market moves favourably by a number of pips. Default is 0(inactive)
atrPeriod (int): ATR averaging period. Default is 0
atrMultiplier (float): Multiple of ATR to utilise in the new SL computation. Default is 1
atrShift (float): Relative shift of price information, 0 uses latest candle, 1 uses second last, etc. Default is 0
spread (float): Enter the position only if the spread is equal or less than the specified value in pips. Default is 0(inactive)
accFilter (float): Enter the position only if the account requirement is met. Default is 0(inactive)
secret (string)
comment (string): Comment. Add a string into the order’s comment section. Default is "Symbol+Timeframe"
This library has methods that provide practical signal transmission for Pineconnector.Developed By Milvetti
buy(licenseId, symbol, risk, sl, tp, beTrigger, beOffset, trailTrig, trailDist, trailStep, atrTimeframe, atrTrigger, atrPeriod, atrMultiplier, atrShift, spread, accFilter, secret, comment)
Create a buy order message
Parameters:
licenseId (string): License Id. This is a unique identifier found in the Pineconnector Licensing Dashboard.
symbol (string): Symbol. Default is syminfo.ticker
risk (float): Risk. Function depends on the “Volume Type” selected in the EA
sl (float): StopLoss. Place stop-loss. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
tp (float): TakeProfit. Place take-profit. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
beTrigger (float): Breakeven will be activated after the position gains this number of pips. Ensure > 0
beOffset (float): Offset from entry price. 0 means the SL will be placed exactly at entry price. 1 means 1 pip above the entry price for buy trades and 1 pip below for sell trades.
trailTrig (int): Trailing stop-loss will be activated after a trade gains this number of pips. Default is 0(inactive)
trailDist (int): SL will be opened at traildist after trailtrig is met, even if you do not have a SL placed.. Default is 0(inactive)
trailStep (int): Moves trailing stop-loss once price moves to favourable by a specified number of pips. Default is 0(inactive)
atrTimeframe (string): ATR Trailing Stop will be based on the specified timeframe in minutes and will only update once per bar close. Default is Timeframe.Period
atrTrigger (float): Activate the trigger of ATR Trailing after market moves favourably by a number of pips. Default is 0(inactive)
atrPeriod (int): ATR averaging period. Default is 0
atrMultiplier (float): Multiple of ATR to utilise in the new SL computation. Default is 1
atrShift (float): Relative shift of price information, 0 uses latest candle, 1 uses second last, etc. Default is 0
spread (float): Enter the position only if the spread is equal or less than the specified value in pips. Default is 0(inactive)
accFilter (float): Enter the position only if the account requirement is met. Default is 0(inactive)
secret (string)
comment (string): Comment. Add a string into the order’s comment section. Default is "Symbol+Timeframe"
sell(licenseId, symbol, risk, sl, tp, beTrigger, beOffset, trailTrig, trailDist, trailStep, atrTimeframe, atrTrigger, atrPeriod, atrMultiplier, atrShift, spread, accFilter, secret, comment)
Create a buy order message
Parameters:
licenseId (string): License Id. This is a unique identifier found in the Pineconnector Licensing Dashboard.
symbol (string): Symbol. Default is syminfo.ticker
risk (float): Risk. Function depends on the “Volume Type” selected in the EA
sl (float): StopLoss. Place stop-loss. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
tp (float): TakeProfit. Place take-profit. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
beTrigger (float): Breakeven will be activated after the position gains this number of pips. Ensure > 0
beOffset (float): Offset from entry price. 0 means the SL will be placed exactly at entry price. 1 means 1 pip above the entry price for buy trades and 1 pip below for sell trades.
trailTrig (int): Trailing stop-loss will be activated after a trade gains this number of pips. Default is 0(inactive)
trailDist (int): SL will be opened at traildist after trailtrig is met, even if you do not have a SL placed.. Default is 0(inactive)
trailStep (int): Moves trailing stop-loss once price moves to favourable by a specified number of pips. Default is 0(inactive)
atrTimeframe (string): ATR Trailing Stop will be based on the specified timeframe in minutes and will only update once per bar close. Default is Timeframe.Period
atrTrigger (float): Activate the trigger of ATR Trailing after market moves favourably by a number of pips. Default is 0(inactive)
atrPeriod (int): ATR averaging period. Default is 0
atrMultiplier (float): Multiple of ATR to utilise in the new SL computation. Default is 1
atrShift (float): Relative shift of price information, 0 uses latest candle, 1 uses second last, etc. Default is 0
spread (float): Enter the position only if the spread is equal or less than the specified value in pips. Default is 0(inactive)
accFilter (float): Enter the position only if the account requirement is met. Default is 0(inactive)
secret (string)
comment (string): Comment. Add a string into the order’s comment section. Default is "Symbol+Timeframe"
buyLimit(licenseId, symbol, pending, risk, sl, tp, beTrigger, beOffset, trailTrig, trailDist, trailStep, atrTimeframe, atrTrigger, atrPeriod, atrMultiplier, atrShift, spread, accFilter, secret, comment)
Create a buy limit order message
Parameters:
licenseId (string): License Id. This is a unique identifier found in the Pineconnector Licensing Dashboard.
symbol (string): Symbol. Default is syminfo.ticker
pending (float): Computing pending order entry price. EA Options: Pips, Specified Price, Percentage
risk (float): Risk. Function depends on the “Volume Type” selected in the EA
sl (float): StopLoss. Place stop-loss. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
tp (float): TakeProfit. Place take-profit. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
beTrigger (float): Breakeven will be activated after the position gains this number of pips. Ensure > 0
beOffset (float): Offset from entry price. 0 means the SL will be placed exactly at entry price. 1 means 1 pip above the entry price for buy trades and 1 pip below for sell trades.
trailTrig (int): Trailing stop-loss will be activated after a trade gains this number of pips. Default is 0(inactive)
trailDist (int): SL will be opened at traildist after trailtrig is met, even if you do not have a SL placed.. Default is 0(inactive)
trailStep (int): Moves trailing stop-loss once price moves to favourable by a specified number of pips. Default is 0(inactive)
atrTimeframe (string): ATR Trailing Stop will be based on the specified timeframe in minutes and will only update once per bar close. Default is Timeframe.Period
atrTrigger (float): Activate the trigger of ATR Trailing after market moves favourably by a number of pips. Default is 0(inactive)
atrPeriod (int): ATR averaging period. Default is 0
atrMultiplier (float): Multiple of ATR to utilise in the new SL computation. Default is 1
atrShift (float): Relative shift of price information, 0 uses latest candle, 1 uses second last, etc. Default is 0
spread (float): Enter the position only if the spread is equal or less than the specified value in pips. Default is 0(inactive)
accFilter (float): Enter the position only if the account requirement is met. Default is 0(inactive)
secret (string)
comment (string): Comment. Add a string into the order’s comment section. Default is "Symbol+Timeframe"
buyStop(licenseId, symbol, pending, risk, sl, tp, beTrigger, beOffset, trailTrig, trailDist, trailStep, atrTimeframe, atrTrigger, atrPeriod, atrMultiplier, atrShift, spread, accFilter, secret, comment)
Create a buy stop order message
Parameters:
licenseId (string): License Id. This is a unique identifier found in the Pineconnector Licensing Dashboard.
symbol (string): Symbol. Default is syminfo.ticker
pending (float): Computing pending order entry price. EA Options: Pips, Specified Price, Percentage
risk (float): Risk. Function depends on the “Volume Type” selected in the EA
sl (float): StopLoss. Place stop-loss. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
tp (float): TakeProfit. Place take-profit. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
beTrigger (float): Breakeven will be activated after the position gains this number of pips. Ensure > 0
beOffset (float): Offset from entry price. 0 means the SL will be placed exactly at entry price. 1 means 1 pip above the entry price for buy trades and 1 pip below for sell trades.
trailTrig (int): Trailing stop-loss will be activated after a trade gains this number of pips. Default is 0(inactive)
trailDist (int): SL will be opened at traildist after trailtrig is met, even if you do not have a SL placed.. Default is 0(inactive)
trailStep (int): Moves trailing stop-loss once price moves to favourable by a specified number of pips. Default is 0(inactive)
atrTimeframe (string): ATR Trailing Stop will be based on the specified timeframe in minutes and will only update once per bar close. Default is Timeframe.Period
atrTrigger (float): Activate the trigger of ATR Trailing after market moves favourably by a number of pips. Default is 0(inactive)
atrPeriod (int): ATR averaging period. Default is 0
atrMultiplier (float): Multiple of ATR to utilise in the new SL computation. Default is 1
atrShift (float): Relative shift of price information, 0 uses latest candle, 1 uses second last, etc. Default is 0
spread (float): Enter the position only if the spread is equal or less than the specified value in pips. Default is 0(inactive)
accFilter (float): Enter the position only if the account requirement is met. Default is 0(inactive)
secret (string)
comment (string): Comment. Add a string into the order’s comment section. Default is "Symbol+Timeframe"
sellLimit(licenseId, symbol, pending, risk, sl, tp, beTrigger, beOffset, trailTrig, trailDist, trailStep, atrTimeframe, atrTrigger, atrPeriod, atrMultiplier, atrShift, spread, accFilter, secret, comment)
Create a sell limit order message
Parameters:
licenseId (string): License Id. This is a unique identifier found in the Pineconnector Licensing Dashboard.
symbol (string): Symbol. Default is syminfo.ticker
pending (float): Computing pending order entry price. EA Options: Pips, Specified Price, Percentage
risk (float): Risk. Function depends on the “Volume Type” selected in the EA
sl (float): StopLoss. Place stop-loss. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
tp (float): TakeProfit. Place take-profit. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
beTrigger (float): Breakeven will be activated after the position gains this number of pips. Ensure > 0
beOffset (float): Offset from entry price. 0 means the SL will be placed exactly at entry price. 1 means 1 pip above the entry price for buy trades and 1 pip below for sell trades.
trailTrig (int): Trailing stop-loss will be activated after a trade gains this number of pips. Default is 0(inactive)
trailDist (int): SL will be opened at traildist after trailtrig is met, even if you do not have a SL placed.. Default is 0(inactive)
trailStep (int): Moves trailing stop-loss once price moves to favourable by a specified number of pips. Default is 0(inactive)
atrTimeframe (string): ATR Trailing Stop will be based on the specified timeframe in minutes and will only update once per bar close. Default is Timeframe.Period
atrTrigger (float): Activate the trigger of ATR Trailing after market moves favourably by a number of pips. Default is 0(inactive)
atrPeriod (int): ATR averaging period. Default is 0
atrMultiplier (float): Multiple of ATR to utilise in the new SL computation. Default is 1
atrShift (float): Relative shift of price information, 0 uses latest candle, 1 uses second last, etc. Default is 0
spread (float): Enter the position only if the spread is equal or less than the specified value in pips. Default is 0(inactive)
accFilter (float): Enter the position only if the account requirement is met. Default is 0(inactive)
secret (string)
comment (string): Comment. Add a string into the order’s comment section. Default is "Symbol+Timeframe"
sellStop(licenseId, symbol, pending, risk, sl, tp, beTrigger, beOffset, trailTrig, trailDist, trailStep, atrTimeframe, atrTrigger, atrPeriod, atrMultiplier, atrShift, spread, accFilter, secret, comment)
Create a sell stop order message
Parameters:
licenseId (string): License Id. This is a unique identifier found in the Pineconnector Licensing Dashboard.
symbol (string): Symbol. Default is syminfo.ticker
pending (float): Computing pending order entry price. EA Options: Pips, Specified Price, Percentage
risk (float): Risk. Function depends on the “Volume Type” selected in the EA
sl (float): StopLoss. Place stop-loss. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
tp (float): TakeProfit. Place take-profit. Computation is based on the Target Type selected in the EA. Default is 0(inactive)
beTrigger (float): Breakeven will be activated after the position gains this number of pips. Ensure > 0
beOffset (float): Offset from entry price. 0 means the SL will be placed exactly at entry price. 1 means 1 pip above the entry price for buy trades and 1 pip below for sell trades.
trailTrig (int): Trailing stop-loss will be activated after a trade gains this number of pips. Default is 0(inactive)
trailDist (int): SL will be opened at traildist after trailtrig is met, even if you do not have a SL placed.. Default is 0(inactive)
trailStep (int): Moves trailing stop-loss once price moves to favourable by a specified number of pips. Default is 0(inactive)
atrTimeframe (string): ATR Trailing Stop will be based on the specified timeframe in minutes and will only update once per bar close. Default is Timeframe.Period
atrTrigger (float): Activate the trigger of ATR Trailing after market moves favourably by a number of pips. Default is 0(inactive)
atrPeriod (int): ATR averaging period. Default is 0
atrMultiplier (float): Multiple of ATR to utilise in the new SL computation. Default is 1
atrShift (float): Relative shift of price information, 0 uses latest candle, 1 uses second last, etc. Default is 0
spread (float): Enter the position only if the spread is equal or less than the specified value in pips. Default is 0(inactive)
accFilter (float): Enter the position only if the account requirement is met. Default is 0(inactive)
secret (string)
comment (string): Comment. Add a string into the order’s comment section. Default is "Symbol+Timeframe"
ملاحظات الأخبار
Bug Fixedملاحظات الأخبار
Bug Fixedمكتبة باين
كمثال للقيم التي تتبناها TradingView، نشر المؤلف شيفرة باين كمكتبة مفتوحة المصدر بحيث يمكن لمبرمجي باين الآخرين من مجتمعنا استخدامه بحرية. تحياتنا للمؤلف! يمكنك استخدام هذه المكتبة بشكل خاص أو في منشورات أخرى مفتوحة المصدر، ولكن إعادة استخدام هذا الرمز في المنشورات تخضع لقواعد الموقع.
Milvetti
We help traders automate their trading strategies.
milvetti.com
We help traders automate their trading strategies.
milvetti.com
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
مكتبة باين
كمثال للقيم التي تتبناها TradingView، نشر المؤلف شيفرة باين كمكتبة مفتوحة المصدر بحيث يمكن لمبرمجي باين الآخرين من مجتمعنا استخدامه بحرية. تحياتنا للمؤلف! يمكنك استخدام هذه المكتبة بشكل خاص أو في منشورات أخرى مفتوحة المصدر، ولكن إعادة استخدام هذا الرمز في المنشورات تخضع لقواعد الموقع.
Milvetti
We help traders automate their trading strategies.
milvetti.com
We help traders automate their trading strategies.
milvetti.com
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.