Hello. Can I follow up on this
Apprentice wrote:Strategy that will trade if price cross line defined by .csv file?
Cactus wrote:Can I ask you to provide a simple sample strategy showing how to access and use those output streams in a strategy? Just a simple "if m1 candle price open above up_1 stream and close below up_1 stream, sell" or something?
This is in regards to
CSV Lines Helper Tool_streamsJust wanting an example strategy to show how to enter positions using output streams from this indicator
I would love to have just a simple sample strategy to go with it or just a code snippet to demonstrate how to use its
output_stream instance:getStream (index) or
public property instance.DATA in the strategy. The logic can be (close_price[1] < line_stream_1[0] and close_price[0] >= line_stream_1[0]) which just means close price has crossed the most recent stream of some line. Thanks in advance