"breakdown" language for breakout sells
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<rung-builder :name="(builder.breakout?'Breakout':'Limit')+(builder.rungs>1?' Ladder':'')"
|
||||
<rung-builder :name="(builder.breakout?(order.buy?'Breakout':'Breakdown'):'Limit')+(builder.rungs>1?' Ladder':'')"
|
||||
:description="description"
|
||||
:order="order" :builder="builder"
|
||||
v-model="priceEndpoints" :mode="0" :flip="flipped"
|
||||
@@ -200,7 +200,8 @@ const stdWidth = computed(()=>co.meanRange)
|
||||
const description = computed(()=>{
|
||||
const buy = props.order.buy
|
||||
const above = buy === props.builder.breakout
|
||||
return (buy?'Buy ':'Sell ')+(above?'above':'below')+' the line'
|
||||
const plural = props.builder.rungs > 1 ? 's' : ''
|
||||
return (buy?'Buy ':'Sell ')+(above?'above':'below')+' the line'+plural
|
||||
})
|
||||
|
||||
function getModelValue(model) {
|
||||
|
||||
Reference in New Issue
Block a user