Strategia Morning Star e Evening Star
Forums › ProRealTime forum Italiano › Supporto ProOrder › Strategia Morning Star e Evening Star
- This topic has 10 replies, 3 voices, and was last updated 4 years ago by robertogozzi.
Tagged: evening star, Morning Star
-
-
04/25/2020 at 8:52 PM #12807904/26/2020 at 5:41 AM #128119
Dai un titolo significativo al tuo argomento. Descrivi la tua domanda o l’oggetto nel titolo. Non utilizzare titoli privi di significato come “Aiuto per la codifica”.
Grazie:)
L’ho modificato io.
04/26/2020 at 8:25 AM #12813004/26/2020 at 8:51 AM #12813604/26/2020 at 10:10 AM #128160Eccola:
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849DEFPARAM CumulateOrders = FalseONCE Distanza = 4 * pipsizeONCE StopLoss = 6 * pipsizeONCE MorningStar = 0ONCE EveningStar = 0ONCE Tp = 30 * pipsizeIF OnMarket THENEntryPrice = 0ENDIFBullish = close > openBearish = close < openBody = abs(open - close)LongCandle = (range >= 40 * pipsize) AND (Body >= range * 0.50)ShortCandle = (range <= 15 * pipsize) AND (Body <= range * 0.40)// Morning Star (http://www.traderpedia.it/wiki/index.php/Morning_Star)IF MorningStar = 0 THENMorningStar = Bearish[2] AND LongCandle[2] AND ShortCandle[1] AND Bullish AND LongCandleMorningStar = MorningStar AND low >= low[2] AND high <= high[2]// AND low[1] = lowest[3](low)IF MorningStar THENEveningStar = 0EntryPrice = high + DistanzaSl = (EntryPrice - low[1]) + StopLossENDIFENDIF// Evening Star (http://www.traderpedia.it/wiki/index.php/Evening_Star)IF EveningStar = 0 THENEveningStar = Bullish[2] AND LongCandle[2] AND ShortCandle[1] AND Bearish AND LongCandleEveningStar = EveningStar AND low >= low[2] AND high <= high[2]// AND high[1] = highest[3](high)IF EveningStar THENMorningStar = 0EntryPrice = low - DistanzaSl = (high[1] - EntryPrice) + StopLossENDIFENDIF//Ema15 = average[15,1](close)MorningStar = MorningStar AND lowest[3](low) > Ema15EveningStar = EveningStar AND highest[3](high) < Ema15//IF Not OnMarket THENIF MorningStar THENBUY 1 Contract AT EntryPrice STOPELSIF EveningStar THENSELLSHORT 1 Contract AT EntryPrice STOPENDIFENDIF//SET TARGET PROFIT TpSET STOP LOSS SlIo l’ho provata sul DAX e riesci ad effettuare operazioni sulo sul Daily e togliendo la media, oppure mettendola a 400 periodi.
Ci sono due righe dove ho messo le // dei commenti, altrimenti con quelle ulteriori condizioni non avrebbe trovato niente!
Per quanto riguarda il pertrolio, cerca OIL nella casella di ricerca che si apre quando passi col mouse sopra il tuo avatar e ne troverai diverse.
04/26/2020 at 10:21 AM #12816504/26/2020 at 11:51 AM #128185Non ne ho, le faccio solo sul DAX.
04/26/2020 at 1:57 PM #12820404/26/2020 at 2:03 PM #128211Chiedi il mio contatto all’admin tramite il modulo di contatto.
04/26/2020 at 2:35 PM #12821604/26/2020 at 3:20 PM #128232 -
AuthorPosts
Find exclusive trading pro-tools on