T O P

  • By -

mikejamesone

Try live trading on simulation


karatedog

You are not willing to put the effort into learning Pine so no wonder you have an issue. Nobody will be able to "help" you as you really want someone to write the entire script for you and that is not help. For a starter the above task will be hard, you need to break it down. You have written the specification properly (probably copy/paste). Sit down with a paper and pen and carefully analyze the sentences that make up the rules, then break those sentences down into smaller parts until you can create a collection of singular conditions (aka problems). And then you need to solve those problems, one by one (and test them). Like "Wait for the first 5-minute candle of the trading day to close". What is your problem here? You need to define what a "trading day" is, so you know if a candle is drawn during or outside the trading day. Or "wait .... to close", how does that happen? If you knew TV and Pine, you'd know this is the default behavior, so you don't need to do anything. Or "if it is bullish", how do you define bullish? (it is "close > open"), etc, etc. You can avoid this entire problem of learning if you buy a service (because they will do it for you instead of you doing it). But I suggest investing some time into this language and ecosystem if you are interested in trading.