Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Inizio Codifica di tutti i pattern base Unger + Criptovalute Easylanguage //
- // Aggiunti i pattern per le criptovalute sui 7 giorni numero: 41/42/43 //
- var: PtnBaseSA1(false), PtnBaseSA2(false), PtnBaseSA3(false), PtnBaseSA4(false), PtnBaseSA5(false), PtnBaseSA6(false),
- PtnBaseSA7(false), PtnBaseSA8(false), PtnBaseSA9(false), PtnBaseSA10(false), PtnBaseSA11(false), PtnBaseSA12(false),
- PtnBaseSA13(false), PtnBaseSA14(false), PtnBaseSA15(false), PtnBaseSA16(false), PtnBaseSA17(false), PtnBaseSA18(false),
- PtnBaseSA19(false), PtnBaseSA20(false), PtnBaseSA21(false), PtnBaseSA22(false), PtnBaseSA23(false), PtnBaseSA24(false),
- PtnBaseSA25(false), PtnBaseSA26(false), PtnBaseSA27(false), PtnBaseSA28(false), PtnBaseSA29(false), PtnBaseSA30(false),
- PtnBaseSA31(false), PtnBaseSA32(false), PtnBaseSA33(false), PtnBaseSA34(false), PtnBaseSA35(false), PtnBaseSA36(false),
- PtnBaseSA37(false), PtnBaseSA38(false), PtnBaseSA39(false), PtnBaseSA40(false), PtnBaseSA41(false), PtnBaseSA42(false),
- PtnBaseSA43(false), PtnBaseSA44(false), PtnBaseSA45(false);
- var:opend0(0),opend1(0),opend2(0),opend3(0),opend4(0),opend5(0),opend6(0),opend7(0);
- var:highd0(0),highd1(0),highd2(0),highd3(0),highd4(0),highd5(0),highd6(0),highd7(0);
- var:lowd0(0),lowd1(0),lowd2(0),lowd3(0),lowd4(0),lowd5(0),lowd6(0),lowd7(0);
- var:closed0(0),closed1(0),closed2(0),closed3(0),closed4(0),closed5(0),closed6(0),closed7(0);
- // Valori in parentesi Session: (1=regular session, 0=all sessions), (Number of session ago to reference price (0 = current session).
- opend0 = OpenSession(0,0); // "opens forse opensession"
- opend1 = OpenSession(0,1); // "opens forse opensession"
- opend2 = OpenSession(0,2); // "opens forse opensession"
- opend3 = OpenSession(0,3); // "opens forse opensession"
- opend4 = OpenSession(0,4); // "opens forse opensession"
- opend5 = OpenSession(0,5); // "opens forse opensession"
- opend6 = OpenSession(0,6); // "opens forse opensession"
- opend7 = OpenSession(0,7); // "opens forse opensession"
- // "CONTINUA FINO A 5 "SETTIMANA BORSISTICA" 7 PER CRIPTOVALUTE"
- highd0 = HighSession(0,0); // "highs forse highsession"
- highd1 = HighSession(0,1); // "highs forse highsession"
- highd2 = HighSession(0,2); // "highs forse highsession"
- highd3 = HighSession(0,3); // "highs forse highsession"
- highd4 = HighSession(0,4); // "highs forse highsession"
- highd5 = HighSession(0,5); // "highs forse highsession"
- highd6 = HighSession(0,6); // "highs forse highsession"
- highd7 = HighSession(0,7); // "highs forse highsession"
- // "CONTINUA FINO A 5 "SETTIMANA BORSISTICA" 7 PER CRIPTOVALUTE"
- lowd0 = LowSession(0,0); // "lows forse lowsession"
- lowd1 = LowSession(0,1); // "lows forse lowsession"
- lowd2 = LowSession(0,2); // "lows forse lowsession"
- lowd3 = LowSession(0,3); // "lows forse lowsession"
- lowd4 = LowSession(0,4); // "lows forse lowsession"
- lowd5 = LowSession(0,5); // "lows forse lowsession"
- lowd6 = LowSession(0,6); // "lows forse lowsession"
- lowd7 = LowSession(0,7); // "lows forse lowsession"
- // "CONTINUA FINO A 5 "SETTIMANA BORSISTICA" 7 PER CRIPTOVALUTE"
- closed0 = CloseSession(0,0); // "closes forse closesession"
- closed1 = CloseSession(0,1); // "closes forse closesession"
- closed2 = CloseSession(0,2); // "closes forse closesession"
- closed3 = CloseSession(0,3); // "closes forse closesession"
- closed4 = CloseSession(0,4); // "closes forse closesession"
- closed5 = CloseSession(0,5); // "closes forse closesession"
- closed6 = CloseSession(0,6); // "closes forse closesession"
- closed7 = CloseSession(0,7); // "closes forse closesession"
- // "CONTINUA FINO A 5 "SETTIMANA BORSISTICA" 7 PER CRIPTOVALUTE"
- // Inizio Codifica di tutti i pattern base Unger Unger + Criptovalute Easylanguage //
- // Per i range settimanali delle criptovalute alcuni pattern vanno estesi a 7 vedi video Unger //
- // Aggiunti i pattern per le criptovalute sui 7 giorni numero: 41/42/43 //
- // Decommentare i plot che servono sul momento //
- //PtnBaseSA1 = absvalue(opend1-closed1)<0.5*(highd1-lowd1) ;
- //plot1(PtnBaseSA1, "PtnBaseSA1");
- {PtnBaseSA2 = absvalue(opend1-closed5)<0.5*(highd5-closed1) ;
- plot1(PtnBaseSA2, "PtnBaseSA2");
- PtnBaseSA3 = absvalue(opend5-closed1)<0.5*(maxlist(highd1,highd2,highd3,highd4,highd5)-(minlist(lowd1,lowd2,lowd3,lowd4,lowd5))) ;
- plot1(PtnBaseSA3, "PtnBaseSA3");
- PtnBaseSA4 = ((highd0-opend0)> ((highd1-opend1)*1)) ;
- plot1(PtnBaseSA4, "PtnBaseSA4");
- PtnBaseSA5 = ((highd0-opend0)> ((highd1-opend1)*1.5)) ;
- plot1(PtnBaseSA5, "PtnBaseSA5");
- PtnBaseSA6 = ((opend0-lowd0)> ((opend1-lowd1)*1)) ;
- plot1(PtnBaseSA6, "PtnBaseSA6");
- PtnBaseSA7 = ((opend0-lowd0)> ((opend1-lowd1)*1.5)) ;
- plot1(PtnBaseSA7, "PtnBaseSA7");
- PtnBaseSA8 = closed1>closed2 and closed2>closed3 and closed3>closed4 ;
- plot1(PtnBaseSA8, "PtnBaseSA8");
- PtnBaseSA9 = closed1<closed2 and closed2<closed3 and closed3<closed4 ;
- plot1(PtnBaseSA9, "PtnBaseSA9");
- PtnBaseSA10 = highd1>highd2 and lowd1>lowd2 ;
- plot1(PtnBaseSA10, "PtnBaseSA10");
- PtnBaseSA11 = highd1<highd2 and lowd1<lowd2 ;
- plot1(PtnBaseSA11, "PtnBaseSA11");
- PtnBaseSA12 = ((highd0>(lowd0+lowd0*0.75/100))) ;
- plot1(PtnBaseSA12, "PtnBaseSA12");
- PtnBaseSA13 = ((highd0<(lowd0+lowd0*0.75/100))) ;
- plot1(PtnBaseSA13, "PtnBaseSA13");
- PtnBaseSA14 = (closed1>closed2) ;
- plot1(PtnBaseSA14, "PtnBaseSA14");
- PtnBaseSA15 = (closed1<closed2) ;
- plot1(PtnBaseSA15, "PtnBaseSA15");
- PtnBaseSA16 = (closed1<opend1) ;
- plot1(PtnBaseSA16, "PtnBaseSA16");
- PtnBaseSA17 = (closed1>opend1) ;
- plot1(PtnBaseSA17, "PtnBaseSA17");
- PtnBaseSA18 = ((closed1<(closed2-closed2*0.5/100))) ;
- plot1(PtnBaseSA18, "PtnBaseSA18");
- PtnBaseSA19 = ((closed1>(closed2+closed2*0.5/100))) ;
- plot1(PtnBaseSA19, "PtnBaseSA19");
- PtnBaseSA20 = (highd0>(highd1)) ;
- plot1(PtnBaseSA20, "PtnBaseSA20");
- PtnBaseSA21 = (highd1>highd5) ;
- plot1(PtnBaseSA21, "PtnBaseSA21");
- PtnBaseSA22 = (lowd0<lowd1) ;
- plot1(PtnBaseSA22, "PtnBaseSA22");
- PtnBaseSA23 = (lowd1<lowd5) ;
- plot1(PtnBaseSA23, "PtnBaseSA23");
- PtnBaseSA24 = (highd1>highd2) and (highd1>highd3) and (highd1>highd4) ;
- plot1(PtnBaseSA24, "PtnBaseSA124");
- PtnBaseSA25 = (highd1<highd2) and (highd1<highd3) and (highd1<highd4) ;
- plot1(PtnBaseSA25, "PtnBaseSA25");
- PtnBaseSA26 = ((lowd1<lowd2) and (lowd1<lowd3) and (lowd1<lowd4)) ;
- plot1(PtnBaseSA26, "PtnBaseSA26");
- PtnBaseSA27 = ((lowd1>lowd2) and (lowd1>lowd3) and (lowd1<lowd4)) ;
- plot1(PtnBaseSA27, "PtnBaseSA27");
- PtnBaseSA28 = (closed1>closed2 and closed2>closed3 and opend0>closed1) ;
- plot1(PtnBaseSA28, "PtnBaseSA28");
- PtnBaseSA29 = (closed1<closed2 and closed2<closed3 and opend0<closed1) ;
- plot1(PtnBaseSA29, "PtnBaseSA29");
- PtnBaseSA30 = ((highd1-closed1)<0.20*(highd1-lowd1)) ;
- plot1(PtnBaseSA30, "PtnBaseSA30");
- PtnBaseSA31 = ((closed1-lowd1)<0.20*(highd1-lowd1)) ;
- plot1(PtnBaseSA31, "PtnBaseSA31");
- PtnBaseSA32 = (opend0<lowd1 or opend0>highd1) ;
- plot1(PtnBaseSA32, "PtnBaseSA32");
- PtnBaseSA33 = ((opend0<(closed1-closed1*0.5/100))) ;
- plot1(PtnBaseSA33, "PtnBaseSA33");
- PtnBaseSA34 = ((opend0>(closed1+closed1*0.5/100))) ;
- plot1(PtnBaseSA34, "PtnBaseSA34");
- PtnBaseSA35 = (highd0<highd1 and lowd0>lowd1) ;
- plot1(PtnBaseSA35, "PtnBaseSA35");
- PtnBaseSA36 = (highd1-lowd1)<((highd2-lowd2)+(highd3-lowd3))/3 ;
- plot1(PtnBaseSA36, "PtnBaseSA36");
- PtnBaseSA37 = (highd1-lowd1)<(highd2-lowd2) and (highd2-lowd2)<(highd3-lowd3) ;
- plot1(PtnBaseSA37, "PtnBaseSA37");
- PtnBaseSA38 = (highd2>highd1 and lowd2<lowd1) ;
- plot1(PtnBaseSA38, "PtnBaseSA38");
- PtnBaseSA39 = (highd1<highd2 or lowd1>lowd2) ;
- plot1(PtnBaseSA39, "PtnBaseSA39");
- PtnBaseSA40 = (highd2<highd1 and lowd2>lowd1) ;
- plot1(PtnBaseSA40, "PtnBaseSA40");
- PtnBaseSA41 = absvalue(opend7-closed1)<0.5*(maxlist(highd1,highd2,highd3,highd4,highd5,highd6,highd7)-(minlist(lowd1,lowd2,lowd3,lowd4,lowd5,lowd6,lowd7))) ;
- plot1(PtnBaseSA41, "PtnBaseSA41");
- PtnBaseSA42 = (highd1>highd7) ;
- plot1(PtnBaseSA42, "PtnBaseSA42");
- PtnBaseSA43 = (lowd1<lowd7) ;
- plot1(PtnBaseSA43, "PtnBaseSA43");
- PtnBaseSA44 = true ;
- plot1(PtnBaseSA44, "PtnBaseSA44");
- PtnBaseSA45 = false ;
- plot1(PtnBaseSA45, "PtnBaseSA45");}
- //////////////////////////// Valori Dei Pattern Originali ///////////////////////////
- // Aggiunti i pattern per le criptovalute sui 7 giorni numero: 41/42/43 //
- {definizioneptn[1] = absvalue(opend1-closed1)<0.5*(highd1-lowd1) ;
- definizioneptn[2] = absvalue(opend1-closed5)<0.5*(highd5-closed1) ;
- definizioneptn[3] = absvalue(opend5-closed1)<0.5*(maxlist(highd1,highd2,highd3,highd4,highd5)-(minlist(lowd1,lowd2,lowd3,lowd4,lowd5))) ;
- definizioneptn[4] = ((highd0-opend0)> ((highd1-opend1)*1)) ;
- definizioneptn[5] = ((highd0-opend0)> ((highd1-opend1)*1.5)) ;
- definizioneptn[6] = ((opend0-lowd0)> ((opend1-lowd1)*1)) ;
- definizioneptn[7] = ((opend0-lowd0)> ((opend1-lowd1)*1.5)) ;
- definizioneptn[8] = closed1>closed2 and closed2>closed3 and closed3>closed4 ;
- definizioneptn[9] = closed1<closed2 and closed2<closed3 and closed3<closed4 ;
- definizioneptn[10] = highd1>highd2 and lowd1>lowd2 ;
- definizioneptn[11] = highd1<highd2 and lowd1<lowd2 ;
- definizioneptn[12] = ((highd0>(lowd0+lowd0*0.75/100))) ;
- definizioneptn[13] = ((highd0<(lowd0+lowd0*0.75/100))) ;
- definizioneptn[14] = (closed1>closed2) ;
- definizioneptn[15] = (closed1<closed2) ;
- definizioneptn[16] = (closed1<opend1) ;
- definizioneptn[17] = (closed1>opend1) ;
- definizioneptn[18] = ((closed1<(closed2-closed2*0.5/100))) ;
- definizioneptn[19] = ((closed1>(closed2+closed2*0.5/100))) ;
- definizioneptn[20] = (highd0>(highd1)) ;
- definizioneptn[21] = (highd1>highd5) ;
- definizioneptn[22] = (lowd0<lowd1) ;
- definizioneptn[23] = (lowd1<lowd5) ;
- definizioneptn[24] = (highd1>highd2) and (highd1>highd3) and (highd1>highd4) ;
- definizioneptn[25] = (highd1<highd2) and (highd1<highd3) and (highd1<highd4) ;
- definizioneptn[26] = ((lowd1<lowd2) and (lowd1<lowd3) and (lowd1<lowd4)) ;
- definizioneptn[27] = ((lowd1>lowd2) and (lowd1>lowd3) and (lowd1<lowd4)) ;
- definizioneptn[28] = (closed1>closed2 and closed2>closed3 and opend0>closed1) ;
- definizioneptn[29] = (closed1<closed2 and closed2<closed3 and opend0<closed1) ;
- definizioneptn[30] = ((highd1-closed1)<0.20*(highd1-lowd1)) ;
- definizioneptn[31] = ((closed1-lowd1)<0.20*(highd1-lowd1)) ;
- definizioneptn[32] = (opend0<lowd1 or opend0>highd1) ;
- definizioneptn[33] = ((opend0<(closed1-closed1*0.5/100))) ;
- definizioneptn[34] = ((opend0>(closed1+closed1*0.5/100))) ;
- definizioneptn[35] = (highd0<highd1 and lowd0>lowd1) ;
- definizioneptn[36] = (highd1-lowd1)<((highd2-lowd2)+(highd3-lowd3))/3 ;
- definizioneptn[37] = (highd1-lowd1)<(highd2-lowd2) and (highd2-lowd2)<(highd3-lowd3) ;
- definizioneptn[38] = (highd2>highd1 and lowd2<lowd1) ;
- definizioneptn[39] = (highd1<highd2 or lowd1>lowd2) ;
- definizioneptn[40] = (highd2<highd1 and lowd2>lowd1) ;
- definizioneptn[41] = absvalue(opend7-closed1)<0.5*(maxlist(highd1,highd2,highd3,highd4,highd5,highd6,highd7)-(minlist(lowd1,lowd2,lowd3,lowd4,lowd5,lowd6,lowd7))) ;
- definizioneptn[42] = (highd1>highd7) ;
- definizioneptn[43] = (lowd1<lowd7) ;
- definizioneptn[44] = true ;
- definizioneptn[45] = false ;}
- // Fine Codifica di tutti i pattern base Unger + Criptovalute Easylanguage //
- ///////////////////////// Inizio calcolo valori singoli Crypto Su Sessione Fine Giornata E Non Session //////////////////////////
- var: PtnBaseSA1Crypto(False), PtnBaseSA2Crypto(False), PtnBaseSA3Crypto(False), PtnBaseSA4Crypto(False), PtnBaseSA5Crypto(False),
- PtnBaseSA6Crypto(False), PtnBaseSA7Crypto(False), PtnBaseSA8Crypto(False), PtnBaseSA9Crypto(False), PtnBaseSA10Crypto(False),
- PtnBaseSA11Crypto(False), PtnBaseSA12Crypto(False), PtnBaseSA13Crypto(False), PtnBaseSA14Crypto(False), PtnBaseSA15Crypto(False),
- PtnBaseSA16Crypto(False), PtnBaseSA17Crypto(False), PtnBaseSA18Crypto(False), PtnBaseSA19Crypto(False), PtnBaseSA20Crypto(False),
- PtnBaseSA21Crypto(False), PtnBaseSA22Crypto(False), PtnBaseSA23Crypto(False), PtnBaseSA24Crypto(False), PtnBaseSA25Crypto(False),
- PtnBaseSA26Crypto(False), PtnBaseSA27Crypto(False), PtnBaseSA28Crypto(False), PtnBaseSA29Crypto(False), PtnBaseSA30Crypto(False),
- PtnBaseSA31Crypto(False), PtnBaseSA32Crypto(False), PtnBaseSA33Crypto(False), PtnBaseSA34Crypto(False), PtnBaseSA35Crypto(False),
- PtnBaseSA36Crypto(False), PtnBaseSA37Crypto(False), PtnBaseSA38Crypto(False), PtnBaseSA39Crypto(False), PtnBaseSA40Crypto(False),
- PtnBaseSA41Crypto(False), PtnBaseSA42Crypto(False), PtnBaseSA43Crypto(False), PtnBaseSA44Crypto(False), PtnBaseSA45Crypto(False);
- var : aperturaZero(0), aperturaUno(0), aperturaDue(0), aperturaTre(0), aperturaQuattro(0), aperturaCinque(0), aperturaSei(0), aperturaSette(0);
- var : chiusuraZero(0), chiusuraUno(0), chiusuraDue(0), chiusuraTre(0), chiusuraQuattro(0), chiusuraCinque(0), chiusuraSei(0), chiusuraSette(0);
- var : minimoZero(0), minimoUno(0), minimoDue(0), minimoTre(0), minimoQuattro(0), minimoCinque(0), minimoSei(0), minimoSette(0);
- var : massimoZero(0), massimoUno(0), massimoDue(0), massimoTre(0), massimoQuattro(0), massimoCinque(0), massimoSei(0), massimoSette(0);
- // SESSIONI GIORNATA TEMPO
- aperturaZero = openD(0);
- //plot10(aperturaZero, "aperturaZero");
- aperturaUno = openD(1);
- //plot11(aperturaUno, "aperturaUno");
- aperturaDue = openD(2);
- //plot12(aperturaDue, "aperturaDue");
- aperturaTre = openD(3);
- //plot13(aperturaTre, "aperturaTre");
- aperturaQuattro = openD(4);
- //plot14(aperturaQuattro, "aperturaQuattro");
- aperturaCinque = openD(5);
- //plot15(aperturaCinque, "aperturaCinque");
- aperturaSei = openD(6);
- //plot16(aperturaSei, "aperturaSei");
- aperturaSette = openD(7);
- //plot17(aperturaSette, "aperturaSette");
- chiusuraZero = closeD(0);
- //plot20(chiusuraZero, "chiusuraZero");
- chiusuraUno = closeD(1);
- //plot21(chiusuraUno, "chiusuraUno");
- chiusuraDue = closeD(2);
- //plot22(chiusuraDue, "chiusuraDue");
- chiusuraTre = closeD(3);
- //plot23(chiusuraTre, "chiusuraTre");
- chiusuraQuattro = closeD(4);
- //plot24(chiusuraQuattro, "chiusuraQuattro");
- chiusuraCinque = closeD(5);
- //plot25(chiusuraCinque, "chiusuraCinque");
- chiusuraSei = closeD(6);
- //plot26(chiusuraSei, "chiusuraSei");
- chiusuraSette = closeD(7);
- //plot27(chiusuraSette, "chiusuraSette");
- minimoZero = lowD(0);
- //plot30(minimoZero, "minimoZero");
- minimoUno = lowD(1);
- //plot31(minimoUno, "minimoUno");
- minimoDue = lowD(2);
- //plot32(minimoDue, "minimoDue");
- minimoTre = lowD(3);
- //plot33(minimoTre, "minimoTre");
- minimoQuattro = lowD(4);
- //plot34(minimoQuattro, "minimoQuattro");
- minimoCinque = lowD(5);
- //plot35(minimoCinque, "minimoCinque");
- minimoSei = lowD(6);
- //plot36(minimoSei, "minimoSei");
- minimoSette = lowD(7);
- //plot37(minimoSette, "minimoSette");
- massimoZero = highD(0);
- //plot40(massimoZero, "massimoZero");
- massimoUno = highD(1);
- //plot41(massimoUno, "massimoUno");
- massimoDue = highD(2);
- //plot42(massimoDue, "massimoDue");
- massimoTre = highD(3);
- //plot43(massimoTre, "massimoTre");
- massimoQuattro = highD(4);
- //plot44(massimoQuattro, "massimoQuattro");
- massimoCinque = highD(5);
- //plot45(massimoCinque, "massimoCinque");
- massimoSei = highD(6);
- //plot46(massimoSei, "massimoSei");
- massimoSette = highD(7);
- //plot47(massimoSette, "massimoSette");
- ///////////////////////// Fine calcolo valori singoli Crypto Su Sessione Fine Giornata E Non Session //////////////////////////
- ///////////////////////// INIZIO DEBUG VERIFICA E CONFRONTO DEI "VALORI" DEI PTN "SESSIONI TEMPO" E "CLASSICHE" /////////////////////////
- // PLOTTARE VALORI SESSIONI TEMPO CRYPTO //
- //plot99 (aperturaUno, "aperturaZero(0,1);", red);
- //plot98(chiusuraUno,"chiusuraUno(0,1);", red);
- //plot97 (massimoUno, "massimoUno(0,1);", red);
- //plot96(minimoUno,"minimoUno(0,1);", red);
- // PLOTTARE VALORI SESSIONI CLASSICHE //
- //plot95 (opend1, "OpenSession(0,1);", yellow);
- //plot94(closed1,"CloseSession(0,1);", yellow);
- //plot93 (highd1, "OpenSession(0,1);", yellow);
- //plot92(lowd1,"LowSession1(0,1);", yellow);
- // Confronto l'ingresso dei 2 pattern tra sessioni e fine giornata
- // Inserisci sotto il PtnCrypto !!! //
- //PtnBaseSA1Crypto = absvalue(aperturaUno-chiusuraUno)<0.5*(massimoUno-minimoUno) ;
- //plot1(PtnBaseSA1Crypto, "PtnBaseSA1Crypto");
- // Inserisci sotto il PtnClassico !!! //
- //PtnBaseSA1 = absvalue(opend1-closed1)<0.5*(highd1-lowd1) ;
- //plot2(PtnBaseSA1, "PtnBaseSA1");
- ///////////////////////// FINE DEBUG VERIFICA E CONFRONTO DEI "VALORI" DEI PTN "SESSIONI TEMPO" E "CLASSICHE" /////////////////////////
- // Prossimo passo da fare è quello di controllare il PtnBaseSA"NUMERO"Crypto con tradingview per vedere se coincide !!! //
- ////////////////////////////////////////// Inizio Codifica di tutti i pattern base Unger Easylanguage //////////////////////////////////////////
- // Per i range settimanali delle criptovalute alcuni pattern vanno estesi a 7 vedi video Unger //
- // Decommentare i plot che servono sul momento //
- //PtnBaseSACrypto1 = absvalue(aperturaUno-chiusuraUno)<0.5*(massimoUno-minimoUno) ;
- //plot1(PtnBaseSACrypto1, "PtnBaseSACrypto1");
- //PtnBaseSACrypto2 = absvalue(aperturaUno-chiusuraCinque)<0.5*(massimoCinque-chiusuraUno) ;
- //plot2(PtnBaseSACrypto2, "PtnBaseSACrypto2");
- //PtnBaseSACrypto3 = absvalue(aperturaCinque-chiusuraUno)<0.5*(maxlist(massimoUno,massimoDue,massimoTre,massimoQuattro,massimoCinque)-(minlist(minimoUno,minimoDue,minimoTre,minimoQuattro,minimoCinque))) ;
- //plot2(PtnBaseSACrypto3, "PtnBaseSACrypto3");
- //PtnBaseSACrypto4 = ((massimoZero-aperturaZero)> ((massimoUno-aperturaUno)*1)) ;
- //plot2(PtnBaseSACrypto4, "PtnBaseSACrypto4";
- //PtnBaseSACrypto5 = ((massimoZero-aperturaZero)> ((massimoUno-aperturaUno)*1.5)) ;
- //plot2(PtnBaseSACrypto5, "PtnBaseSACrypto5");
- //PtnBaseSACrypto6 = ((aperturaZero-minimoZero)> ((aperturaUno-minimoUno)*1)) ;
- //plot2(PtnBaseSACrypto6, "PtnBaseSACrypto6")
- //PtnBaseSACrypto7 = ((aperturaZero-minimoZero)> ((aperturaUno-minimoUno)*1.5)) ;
- //plot2(PtnBaseSACrypto7, "PtnBaseSACrypto7");
- //PtnBaseSACrypto8 = chiusuraUno>chiusuraDue and chiusuraDue>chiusuraTre and chiusuraTre>chiusuraQuattro ;
- //plot2(PtnBaseSACrypto8, "PtnBaseSACrypto8");
- //PtnBaseSACrypto9 = chiusuraUno<chiusuraDue and chiusuraDue<chiusuraTre and chiusuraTre<chiusuraQuattro ;
- //plot2(PtnBaseSACrypto9, "PtnBaseSACrypto9");
- //PtnBaseSACrypto10 = massimoUno>massimoDue and minimoUno>minimoDue ;
- //plot2(PtnBaseSACrypto10, "PtnBaseSACrypto10");
- //PtnBaseSACrypto11 = massimoUno<massimoDue and minimoUno<minimoDue ;
- //plot2(PtnBaseSACrypto11, "PtnBaseSACrypto11");
- //PtnBaseSACrypto12 = ((massimoZero>(minimoZero+minimoZero*0.75/100))) ;
- //plot2(PtnBaseSACrypto12, "PtnBaseSACrypto12");
- //PtnBaseSACrypto13 = ((massimoZero<(minimoZero+minimoZero*0.75/100))) ;
- //plot2(PtnBaseSACrypto13, "PtnBaseSACrypto13");
- //PtnBaseSACrypto14 = (chiusuraUno>chiusuraDue) ;
- //plot2(PtnBaseSACrypto14, "PtnBaseSACrypto14");
- //PtnBaseSACrypto15 = (chiusuraUno<chiusuraDue) ;
- //plot2(PtnBaseSACrypto15, "PtnBaseSACrypto15");
- //PtnBaseSACrypto16 = (chiusuraUno<aperturaUno) ;
- //plot2(PtnBaseSACrypto16, "PtnBaseSACrypto16");
- //PtnBaseSACrypto17 = (chiusuraUno>aperturaUno) ;
- //plot2(PtnBaseSACrypto17, "PtnBaseSACrypto17");
- //PtnBaseSACrypto18 = ((chiusuraUno<(chiusuraDue-chiusuraDue*0.5/100))) ;
- //plot2(PtnBaseSACrypto18, "PtnBaseSACrypto18");
- //PtnBaseSACrypto19 = ((chiusuraUno>(chiusuraDue+chiusuraDue*0.5/100))) ;
- //plot2(PtnBaseSACrypto19, "PtnBaseSACrypto19");
- //PtnBaseSACrypto20 = (massimoZero>(massimoUno)) ;
- //plot2(PtnBaseSACrypto20, "PtnBaseSACrypto20");
- //PtnBaseSACrypto21 = (massimoUno>massimoCinque) ;
- //plot2(PtnBaseSACrypto21, "PtnBaseSACrypto21");
- //PtnBaseSACrypto22 = (minimoZero<minimoUno) ;
- //plot2(PtnBaseSACrypto22, "PtnBaseSACrypto22");
- //PtnBaseSACrypto23 = (minimoUno<minimoCinque) ;
- //plot2(PtnBaseSACrypto23, "PtnBaseSACrypto23");
- //PtnBaseSACrypto24 = (massimoUno>massimoDue) and (massimoUno>massimoTre) and (massimoUno>massimoQuattro) ;
- //plot2(PtnBaseSACrypto24, "PtnBaseSACrypto24");
- //PtnBaseSACrypto25 = (massimoUno<massimoDue) and (massimoUno<massimoTre) and (massimoUno<massimoQuattro) ;
- //plot2(PtnBaseSACrypto25, "PtnBaseSACrypto25");
- //PtnBaseSACrypto26 = ((minimoUno<minimoDue) and (minimoUno<minimoTre) and (minimoUno<minimoQuattro)) ;
- //plot2(PtnBaseSACrypto26, "PtnBaseSACrypto26");
- //PtnBaseSACrypto27 = ((minimoUno>minimoDue) and (minimoUno>minimoTre) and (minimoUno<minimoQuattro)) ;
- //plot2(PtnBaseSACrypto27, "PtnBaseSACrypto27");
- //PtnBaseSACrypto28 = (chiusuraUno>chiusuraDue and chiusuraDue>chiusuraTre and aperturaZero>chiusuraUno) ;
- //plot2(PtnBaseSACrypto28, "PtnBaseSACrypto28");
- //PtnBaseSACrypto29 = (chiusuraUno<chiusuraDue and chiusuraDue<chiusuraTre and aperturaZero<chiusuraUno) ;
- //plot2(PtnBaseSACrypto29, "PtnBaseSACrypto29");
- //PtnBaseSACrypto30 = ((massimoUno-chiusuraUno)<0.20*(massimoUno-minimoUno)) ;
- //plot2(PtnBaseSACrypto30, "PtnBaseSACrypto30");
- //PtnBaseSACrypto31 = ((chiusuraUno-minimoUno)<0.20*(massimoUno-minimoUno)) ;
- //plot2(PtnBaseSACrypto31, "PtnBaseSACrypto31");
- //PtnBaseSACrypto32 = (aperturaZero<minimoUno or aperturaZero>massimoUno) ;
- //plot2(PtnBaseSACrypto32, "PtnBaseSACrypto32");
- //PtnBaseSACrypto33 = ((aperturaZero<(chiusuraUno-chiusuraUno*0.5/100))) ;
- //plot2(PtnBaseSACrypto33, "PtnBaseSACrypto33");
- //PtnBaseSACrypto34 = ((aperturaZero>(chiusuraUno+chiusuraUno*0.5/100))) ;
- //plot2(PtnBaseSACrypto34, "PtnBaseSACrypto34");
- //PtnBaseSACrypto35 = (massimoZero<massimoUno and minimoZero>minimoUno) ;
- //plot2(PtnBaseSACrypto35, "PtnBaseSACrypto35");
- //PtnBaseSACrypto36 = (massimoUno-minimoUno)<((massimoDue-minimoDue)+(massimoTre-minimoTre))/3 ;
- //plot2(PtnBaseSACrypto36, "PtnBaseSACrypto36");
- //PtnBaseSACrypto37 = (massimoUno-minimoUno)<(massimoDue-minimoDue) and (massimoDue-minimoDue)<(massimoTre-minimoTre) ;
- //plot2(PtnBaseSACrypto37, "PtnBaseSACrypto37");
- //PtnBaseSACrypto38 = (massimoDue>massimoUno and minimoDue<minimoUno) ;
- //plot2(PtnBaseSACrypto38, "PtnBaseSACrypto38");
- //PtnBaseSACrypto39 = (massimoUno<massimoDue or minimoUno>minimoDue) ;
- //plot2(PtnBaseSACrypto39, "PtnBaseSACrypto39");
- //PtnBaseSACrypto40 = (massimoDue<massimoUno and minimoDue>minimoUno) ;
- //plot2(PtnBaseSACrypto40, "PtnBaseSACrypto40");
- //PtnBaseSACrypto41 = absvalue(aperturaSette-chiusuraUno)<0.5*(maxlist(massimoUno,massimoDue,massimoTre,massimoQuattro,massimoCinque,massimoSei,massimoSette)-(minlist(minimoUno,minimoDue,minimoTre,minimoQuattro,minimoCinque,minimoSei,minimoSette))) ;
- //plot2(PtnBaseSACrypto41, "PtnBaseSACrypto41");
- //PtnBaseSACrypto42 = (massimoUno>massimoSette) ;
- //plot2(PtnBaseSACrypto42, "PtnBaseSACrypto42");
- //PtnBaseSACrypto43 = (minimoUno<minimoSette) ;
- //plot2(PtnBaseSACrypto43, "PtnBaseSACrypto43");
- //PtnBaseSACrypto44 = true ;
- //plot1(PtnBaseSACrypto44, "PtnBaseSACrypto44");
- //PtnBaseSACrypto45 = false ;
- //plot1(PtnBaseSACrypto45, "PtnBaseSACrypto45");
- ////////////////////////////////////////// Fine Codifica di tutti i pattern base Unger Easylanguage //////////////////////////////////////////
- ///////////////////////// INIZIO AREA DI LAVORO DA CANCELLA IN FUTURO" /////////////////////////
- // PLOTTARE VALORI SESSIONI TEMPO CRYPTO //
- //plot99 (aperturaUno, "aperturaUno(0,1);", red);
- //plot98(chiusuraUno,"chiusuraUno(0,1);", red);
- //plot97 (massimoUno, "massimoUno(0,1);", red);
- //plot96(massimoZero,"massimoZero(0,0);", red);
- // PLOTTARE VALORI SESSIONI CLASSICHE //
- //plot95 (opend0, "OpenSession(0,0);", yellow);
- //plot94(closed1,"CloseSession(0,1);", yellow);
- //plot93 (highd0, "HighSession(0,0);", yellow);
- //plot92(lowd1,"LowSession1(0,1);", yellow);
- // Confronto l'ingresso dei 2 pattern tra sessioni e fine giornata //// CONTINUARE DAL40 IN POI !!!!!!!!!!!! ////
- // Inserisci sotto il PtnCrypto !!! //
- //PtnBaseSA4Crypto = ((massimoZero-aperturaZero)> ((massimoUno-aperturaUno)*1)) ;
- //plot1(PtnBaseSA4Crypto, "PtnBaseSA4Crypto");
- // Inserisci sotto il PtnClassico !!! //
- //PtnBaseSA4 = ((highd0-opend0)> ((highd1-opend1)*1)) ;
- //plot2(PtnBaseSA4, "PtnBaseSA4");
- ///////////////////////// FINE AREA DI LAVORO DA CANCELLA IN FUTURO" /////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement