0
Seguir
2
Seguidores

Me gustaría preguntarles a todos cómo conectar el alert_message de tradingview a FMZ

Creado el: 2022-05-16 21:10:12, Actualizado el: 2022-05-16 21:11:40
comments   5
hits   1080

if (tp1Open) strategy.exit (“long1”, when=strategy.position_size > 0, limit=strategy.position_avg_price * (1 + tp1), qty_percent=tp1Amount,comment=’ más del 30%‘) strategy.exit (“short1”, when=strategy.position_size < 0, limit=strategy.position_avg_price * (1 - tp1), qty_percent=tp1Amount,comment=‘espacio1’,alert_message=“espacio30%”)

if (tp2Open) strategy.exit (“long2”, when=strategy.position_size > 0, limit=strategy.position_avg_price * (1 + tp2), qty_percent=tp2Amount,comment=’ más del 50% de la posición normal 2’, alert_message=” más del 50% de la posición normal”) strategy.exit (“short2”, when=strategy.position_size < 0, limit=strategy.position_avg_price * (1 - tp2), qty_percent=tp2Amount, comment=‘espacio 2’, alert_message=“espacio 50%”) Es un juego de palabras que se desarrolla desde el punto de vista de la estrategia.

if (tp3Open)
strategy.exit (“long3”, when=strategy.position_size > 0, limit=strategy.position_avg_price * (1 + tp3), qty_percent=tp3Amount,comment=’ más del 100%‘) strategy.exit (“short3”, when=strategy.position_size < 0, limit=strategy.position_avg_price * (1 - tp3), qty_percent=tp3Amount,comment=‘claridad3’,alert_message=“claridad100%”)

这是我TV的分批止盈策略,请问该怎么搭建机器人对接?社区的那个直连教程 好像并没有针对这个警报的设置和分批止盈