Type/to search

Greffon simple d'achat programmé suivi d'une vente

Study
3
Follow
1510
Followers

Comme indiqué, il est possible de définir un prix d'achat, et une fois l'achat effectué, un ordre de vente est automatiquement placé au prix de vente. Le plugin peut être lancé en un clic depuis le terminal de trading, sans frais, et facilite le trading manuel. Détails : https://www.fmz.com/digest-topic/5051

Source
JavaScript
function CancelPendingOrders() {
    var orders = _C(exchange.GetOrders);
    for (var j = 0; j < orders.length; j++) {
        exchange.CancelOrder(orders[j].Id, orders[j]);
    }
}
function main() {
    Log('robot starts to run')
    if(BUYPRICE >= SELLPRICE){
        throw 'check buy and sell price'
    }
    CancelPendingOrders()
Strategy parameters
Strategy parameters
buy price
buy amount
sell price after buying
sleep time (second)
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)