buy next green candlestick

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #75714 quote
    csntrader
    Participant
    Average
    Hi.

    IF my conditions, then buy next green candlestick.

    I have seen that my conditions might be valid, but I only want to buy the next green candlestick within the next 10 bars.. But I don’t know how to write that code.. Like this:

    if green and K> KV and close <= average[20] and  timeEnterBefore AND timeEnterAfter AND not daysForbiddenEntry THEN 

    BUY NEXT GREEN CANDLESTICK…. (and should only be valid within 10 candlesticks) so if no green candlesticks within 10 candlestick. No entry., 

    Kind regards

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

buy next green candlestick


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
csntrader @csntrader Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 07/10/2018
Status: Active
Attachments: No files
Logo Logo
Loading...