Guardar precio en variable
-
Hi everyone. I know it's answered but I can't find it. I want to save the maximum price of candle 1 where the averages cross is made, and then use that price to open a trade.

It would be the maximum price of the orange candle and when a candle exceeds that price, open a trade. -
@wichi Puedes hacerlo guardándolo en una variable de este modo:

Así, en otros bloques puedes condicionar que el cierre de toras barras se halle por encima de ese valor almacenado. Y no te olvides que entonces habrá que reinicializar la variable creada.