Concetto di corrispondenza del modello EA - Pagina 3

 

Publi

Concetto di corrispondenza del modello EA

 

Publi

Pagina 3 di 7 PrimaPrima 12345 ... UltimaUltima
Risultati da 21 a 30 di 61

Discussione: Concetto di corrispondenza del modello EA

  1. #21

    Citazione Originariamente Scritto da ;
    E cosa possiamo concludere per il nostro trading? Ad esempio, il tuo algoritmo ha scoperto che dopo la parolale cinque candele R-O-N-A-L c'è una probabile possibilità per una candela 'D' - come influenzerebbe la tua decisione di trading? Un altro problema potrebbe essere che usi un alfabeto così grande. Per quanto riguarda il mio esempio sopra, quando assumiamo che tutte le candele siano distribuite quasi equamente, allora la possibilità per la candela D potrebbe essere di circa lo 0,4% ... perché abbiamo affermato che il nostro algoritmo ha dimostrato che D è più probabile che in tal caso la possibilità potrebbe aumentare a forse 1%... Tuttavia...
    L'uso dell'alfabeto in realtà consente maggiori opportunità commerciali rispetto al semplice utilizzo di numeri semplici. Con l'alfabeto, ci sono solo 255 tipi di candele, e assumendo due schemi di candele, la probabilità di trovare uno schema identico è 1/65025. Quando si usano numeri dritti, ci sono variazioni teoricamente infinite. Potresti provare a creare una sorta di margine di errore e lavorare in questo modo. Almeno con l'alfabeto, per me si prende cura del margine di errore.
    Citazione Originariamente Scritto da ;
    Continuo a non capire perché ti interessi...
    Il problema principale è che nessuno dei due sistemi tiene pienamente conto delle lacune. Usando il metodo relazionale che hai menzionato prima, un gap è uguale a una grande candela. Con il modo in cui ho strutturato il codice, dovrei essere in grado di aggiungere più dimensioni/parametri ai tre che ho già a meno che non abbia frainteso qualcosa nel calcolo multivariabile. Per ora, l'unica relazione tra le candele di cui sono veramente preoccupato è se una candela ???R??? viene dopo una candela ???P??? più spesso di una candela ???Q???. Nel trading dal vivo, molto raramente colmeremo comunque il divario, quindi non mi preoccupo.

  2. #22

    Citazione Originariamente Scritto da ;
    Questo è un approccio interessante Theo, ho fatto qualcosa di simile con un sistema basato sulle coordinate. Ad ogni singola barra vengono assegnate 3 coordinate. Queste coordinate possono essere tracciate in una regione 3D. Il passaggio successivo consiste nel trovare un modo per raggruppare tali barre in modo che le barre all'interno di una specifica regione di coordinate vengano identificate come la stessa barra. ?? quest'ultimo passaggio in cui ho problemi. Teoricamente, potrei espandere questo sistema di coordinate a tutte le dimensioni che potrei desiderare. Ma, prima di poterlo fare, devo capire come combinare insieme vari gruppi...
    Ciao Ronald, è un'idea geniale quello che stai cercando di ottenere. un modo dinamico per generare cluster è la SOM (Self Organized Map), come dice il nome, è un modo in cui i sata si organizzano autonomamente e il risultato sono cluster con un set di parametri per ognuno. Avendo implementato il SOM, il tuo sistema genererà su cluster in tempo reale per un set specifico e potrai rilevare se il pattern corrente, se presente, appartiene a un cluster di profitto ad alta probabilità. E per renderlo più realistico, puoi applicare la logica fuzzy quando decidi su un cluster ad alta probabilità. Non sono sicuro che il mio messaggio sia chiaro, ma non esitate a chiedere se avete una domanda. cercare su Google SOM o SOM logica fuzzy ti darà maggiori informazioni, ma la sfida è codificare la teoria in mq4. un altro modo è utilizzare Excel per gestire il clustering SOM e utilizzare il risultato. Saluti, Way2Freedom

  3. #23

    Citazione Originariamente Scritto da ;
    [edit] You could change the distribution of the 255 'characteristic slots' so one feature is more weighted than another.
    I was thinking about the same thing. You can count how many different values of High - Open, Close - Low and Close - Open occured since 2000. You will possibly get something like this: High - Open - 50 different values Close - Low - 50 different values Close - Open - 100 different values In this example you can assign ca. half of the 'characteristic slots' to Close - Open.

  4. #24

  5. #25
    Thanks for April Offer You Cannot Refuse. I refuse (but it is really really hard)! Subscribe. RR

  6. #26
    Ronald, Let me know if I'm off base... Patterns need to be generalizations, so that they could be skewed by a certain percentage but still fit in the pattern... so that if a bars' range was 10 pips or 100 pips, it could still fit within a pattern. Would it be any use to agorize a bar by its range? An example... a bar range is always 100%. So, the open would be at 50% of its range (center of the bar), and the close could be at 75% (3/4 of the bar) of its range. Then you could classify the low of the current bar to the low of the previous bar as lt;100%, low of previous bar within the range of the current bar, etc. I am unsure at this time how to handle if the previous bar is part of engulfing pattern... Just throwing out an idea... Carl

  7. #27

    Citazione Originariamente Scritto da ;
    Ronald, Let me know if I'm off base... Patterns need to be generalizations, so that they could be skewed by a certain percentage but still fit in the pattern... so that if a bars' range was 10 pips or 100 pips, it could still fit within a pattern. Would it be any use to agorize a bar by its range? An example... a bar range is always 100%....
    Hey Carl, Your method identifies bars based on their relative shape. I'm not sure if you intended for this circumstance, but let's assume we have two bars which are perfect scaled replicas of each other. When looking at a chart, would you visually classify them as the same bar? I'm classifying bars based on their absolute shape, it would be easier to differentiate between patterns where the price is ranging and patterns where the price is trending. Ideally, I'd rather just write a neural network which could take into account all of this data. 2 layer is enough to come up with every possible continuous mathematical function, but I suspect adding more layers and nodes will allow the NN to create a conditional step function. It's similar to our own trading thinking.. -If the market price is moving sideways use this mindset -If the market is moving up, use this mindset -If there is undefinable chaos, use a different mindset. That's the hope anyway

  8. #28

    Citazione Originariamente Scritto da ;
    Ideally, I'd rather just write a neural network which could take into account all of this data. 2 layer is enough to come up with every possible continuous mathematical function, but I suspect adding more layers and nodes will allow the NN to create a conditional step function. It's similar to our own trading thinking..
    Hi Ronald, Are you writing a neural network based on FANN? Will you share a NN? If NN is based on FANN I hope
    http://articles.mql4.com/868 may be useful.

  9. #29

    Citazione Originariamente Scritto da ;
    ...This is a newer concept EA which is programmed to find its own candle patterns. The pattern finding algorithm is simple: it checks the previous x closed bars and generates a string something like LLDSSL that means the bars from right (most recent) to left were long, short, short, doji, long, long. The EA then scans the chart history looking for a pattern of bars with that exact same sequence. The EA checks x bars after the sequence to see if that bar was long or short. The results are then added to the statistics generated by the EA...
    Hey there Ronald... This reminds me of something I did a number of years ago for equities. My set-up was essentially a generalization of the same idea you are working with. The way I generalized the approach was that rather than trying to egorize candles into traditional patterns (long, doji, short, etc.) and then match sequences, I just generated sequences of percentage-based differentials for each of OHLC on each bar, as compared to the previous bar. By expressing all of these values from bar to bar in terms of similarity to the previous bar and then setting a specific number of bars to examine, I ended-up with a single mathematically derived value that expressed the overall similarity of all of OHLC for a set number of bars to the current condition. Then I would check the subsequent bars from the close historical match to see if it was indiive of a good move and to get an immediate term signal to trade as per the previous matching pattern. Anyway, I just thought I would mention this as this kind of set-up it might be something to add to your pattern recognition to give a generalization effect. (To elaborate, my system did something like this, for the past n bars being examined: open_2% = (open_2-open_1)/open_1 open_3% = (open_3-open_2)/open_2 open_n% = (open_n-open_n-1)/open_n-1 This was done also for n bars for high, low, and close. The next step was to find and sum the differences between each bar position in the historical data to the same offset bar within the current bars (with the same bar to bar percentages computed for the current bars.) Finally, the sum of the sums of the differences for the past and current OHLC would be taken. Then it was a simple matter to evaluate that final result -- the closer the number was to zero, with each of OHLC results also being close to zero, indied similarity between the current bars and the historical bars. Once similarity was determined, large moves either up or down in the past data were of interest as the current conditions might be expected to behave in a similar manner.) Anyway, I thought I would mention that, as you might be able to make your pattern matching more abstract and less dependent on human-recognizable constructions using a set-up like that. Theo Buitendyk.

  10. #30
    The, can you tell us the result of your implementation ?

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  •  
Il sito di forexmad utilizza cookie
Il sito di forexmad utilizza cookie, alcuni dei quali già installati. Per avere maggiori informazioni sui nostri cookie ti preghiamo di cliccare qui. Ti preghiamo di cliccare sul bottone a destra per accettare i nostri cookie. Se continui a navigare sul sito di forexmad assumeremo che sei d'accordo ad utilizzarli.