Close@Profit – MetaTrader 專家 4

0
(0)

Close@Profit - MetaTrader 專家 4

Jan Kafka

觀點:
940
評分:

選票: 5

文件:
close5profit.mq4 (8.69 知識庫)看法

描述

Close@Profit is an EA that close orders after defined profit or loss.

You can define if to close only trades on current symbol or to close all orders on all symbols, to close only opened trades or also delete pending orders.

Based on Close at Profit idea from Matus German but including Commissions, Swaps and changes in UI.

Input variables

  • UseProfitToClose = true; - if it is true the EA will close trades when the profit is greater than defined profit to close
  • ProfitToClose = 100; - the defined profit in account currency, when close trades
  • UseLossToClose = false; - if it is true the EA will close trades when the loss is greater than defined loss to close
  • LossToClose = 100; - the defined loss in account currency, when close trades
  • AllSymbols = true; - if it is true the EA closes trades on all symbols, 如果為假- only on current symbol where EA is attached
  • PendingOrders = true; - if it is true the EA closes also pending orders, on all symbols or current symbol depends on AllSymbols setting
  • MaxSlippage = 3; - maximal allowed slippage in pip
  • LegendColor = White; - color of label text
  • VariablesColor = Gold; - color of variables
  • FontSize = 8; - Font size

Close@Profit - expert for MetaTrader 4 1

Last comments | Go to discussion (1)
Hongliang Liu
Moggy | 12 七月 2014 在 08:19

how to make sure all the orders closed with no error?

OrderClose and OrderDelete maybe wrong when you close or delete orders

if some orders are not closed in for clause,they may not be close later,as the total profit not match your condition anymore

FYI

這篇文章有多有用?

點擊一顆星即可對其進行評分!

平均評分 0 / 5. 計票數: 0

目前還沒有投票! 成為第一個評價這篇文章的人.

很抱歉這篇文章對您沒有用!

讓我們改進這篇文章!

告訴我們如何改進這篇文章?



作者: 外匯維基團隊
我們是一支經驗豐富的外匯交易員團隊 [2000-2023] 致力於以我們自己的方式生活的人. 我們的主要目標是實現財務獨立和自由, 我們追求自我教育並在外匯市場上獲得豐富的經驗,以此作為實現自我可持續生活方式的手段.