Jump to content


[01 martie 2015] Vamist este prima si cea mai mare comunitate Forex din Romania. A luat nastere in 2005 si de-a lungul timpului a trecut prin mai multe transformari. Acum, dupa 10 ani, primim orice fel de traderi si investitori. Deci, indiferent daca tranzactionezi sau investesti in actiuni, valute, marfuri sau orice alt instrument, bine ai venit!

Vamist se transforma in comunitatea traderilor retail. Aceasta versiune a forumului va fi in continuare accesibila pentru oricine, dar numai in format read only.

Noua adresa este vamist.ro. Te asteptam acolo la discutii generale despre trading.

Photo
* * * * * 1 votes

Script pentru acoperire\asigurare


  • Please log in to reply
28 replies to this topic

#1 Apollo

Apollo

    Big Shark

  • Banned
  • PipPipPipPipPipPipPipPipPip
  • 1382 posts
  • Gender:Male
  • Location:In munti...
  • Broker curent LMAX

Posted 04 June 2013 - 06:11 PM

Poate cineva sa creeze un script simplu de asigurare a pozitiei ?

 

Pe scurt, cand rulezi scriptul  ( prin hotkeys) se inchide 50% din pozitie si se muta SL-ul x pipsi mai sus (in caz de buy) sau x pipsi mai jos (in caz de sell). X sa poata fi setabil.

 

Multumesc frumos.


Edited by Apollo, 04 June 2013 - 06:12 PM.

"Imposibilul e un cuvant care se gaseste numai in dictionarul nãtângilor."

"Remember that if you practice strict money management rules, you will become the casino and in the long run, "you will always win."

 

"If you have ever watched one  of the nature programs  on television  about how many species of fish hunt, you may  have seen  the larger fish that create "bait balls"  by coralling  smaller fish into a tight group."

 

Money moves the market, not an indicator.




#2 Criodi

Criodi

    Forexist activ

  • Moderators
  • PipPipPipPipPip
  • 499 posts
  • Gender:Not Telling

Posted 06 June 2013 - 10:11 AM

Poftim. Inchide aproximativ jumatate din fiecare tranzactie deschisa pe symbolul pe care e atasat si muta sl-ul la +/- X points.

Attached Files


Project Mayhem. Organized Chaos. The Bureaucracy of Anarchy. Support groups. Sort of.


#3 Apollo

Apollo

    Big Shark

  • Banned
  • PipPipPipPipPipPipPipPipPip
  • 1382 posts
  • Gender:Male
  • Location:In munti...
  • Broker curent LMAX

Posted 06 June 2013 - 10:56 AM

Wuhuu, Sa fiu sincer nu prea ma asteptam sa ma rezolve cineva . Multumesc mult. Se poate face astfel incat sa se execute fara sa mai apara fereastra de confirmare? Daca e simplu doar, daca nu , lasa asa ca e bine.


Edited by Apollo, 06 June 2013 - 11:02 AM.

"Imposibilul e un cuvant care se gaseste numai in dictionarul nãtângilor."

"Remember that if you practice strict money management rules, you will become the casino and in the long run, "you will always win."

 

"If you have ever watched one  of the nature programs  on television  about how many species of fish hunt, you may  have seen  the larger fish that create "bait balls"  by coralling  smaller fish into a tight group."

 

Money moves the market, not an indicator.


#4 Apollo

Apollo

    Big Shark

  • Banned
  • PipPipPipPipPipPipPipPipPip
  • 1382 posts
  • Gender:Male
  • Location:In munti...
  • Broker curent LMAX

Posted 06 June 2013 - 11:21 AM

I-am facut proba, nu muta SL-ul. Am intrat SELL apoi am setat SL , de inchis mi-a inchis jumate din lot dar SL-ul a ramas neschimbat. Nu stiu daca 100, valoarea default a lui X, reprezinta 100 pips sau 100 pipeti, am incercat si  cu 1 si cu 10 si la fel se intampla, SL ramane nemodificat. Si vezi ca nu e MOVE BE :) , ci doar inchide jumate si muta SL cu un numar de pips predefinit de mine. Poate sa fie 1 pip sau poate sa fie 5 deci nu va fi BE.


"Imposibilul e un cuvant care se gaseste numai in dictionarul nãtângilor."

"Remember that if you practice strict money management rules, you will become the casino and in the long run, "you will always win."

 

"If you have ever watched one  of the nature programs  on television  about how many species of fish hunt, you may  have seen  the larger fish that create "bait balls"  by coralling  smaller fish into a tight group."

 

Money moves the market, not an indicator.


#5 Criodi

Criodi

    Forexist activ

  • Moderators
  • PipPipPipPipPip
  • 499 posts
  • Gender:Not Telling

Posted 06 June 2013 - 11:42 AM

Pai ce symbol, ce erori, ce se intmapla mai exact? Ce broker? Ce nivel de pret? Ce X? Ce scrie in journal? Da-mi toate detaliile altfel n-am ce sa fac.

 

EDIT:

 

Pai daca n-ai broker ecn nu poti sa muti imediat sl-ul dupa ce ai deschis ordin. Si daca ai ECN sl-ul tot nu poate sa fie sub ASK. Deci verifica cifrele alea... Uita-te in primul rand in journal sa vezi ce erori iti da. Eu nu trimit cod daca stiu ca nu merge. Deci nu ma ajuta cu nimic sa imi spui ca pur si simplu nu merge.

 

Cifra aia X e in zecimi de pips. Adica 100 = 10 pips.


Edited by Criodi, 06 June 2013 - 11:47 AM.

Project Mayhem. Organized Chaos. The Bureaucracy of Anarchy. Support groups. Sort of.


#6 Apollo

Apollo

    Big Shark

  • Banned
  • PipPipPipPipPipPipPipPipPip
  • 1382 posts
  • Gender:Male
  • Location:In munti...
  • Broker curent LMAX

Posted 06 June 2013 - 12:01 PM

Eur, Gbp, Aud, Cad, 5 zecimale . Nu da nici o eroare. Rulez scriptul care pur si simplu trebuie sa faca doua operatii simple :

 

1) Inchide 50% din pozitie

2) Modifica SL cu numarul de pipsi mai sus/mai jos definit de mine, prin acel X.

 

Concret : daca eu dau sell la 1.54400 cu 0.20 lot, am SL la 1.54500 , deci 10 pips mai sus. Bun, eu cand rulez acel script vreau sa imi inchida 50% din 0.20 lot, ceea ce face in prezent, si stoploss-ul sa-l mute de la 1.54500 la 1.54480 sau 1.54470 sau 1.54460, depinde de valoarea lui X care o setez eu. Doar ca el nu modifica acel SL , ci doar inchide 50% din lot.

 

Asta e tot. :)


Edited by Apollo, 06 June 2013 - 12:02 PM.

"Imposibilul e un cuvant care se gaseste numai in dictionarul nãtângilor."

"Remember that if you practice strict money management rules, you will become the casino and in the long run, "you will always win."

 

"If you have ever watched one  of the nature programs  on television  about how many species of fish hunt, you may  have seen  the larger fish that create "bait balls"  by coralling  smaller fish into a tight group."

 

Money moves the market, not an indicator.


#7 Criodi

Criodi

    Forexist activ

  • Moderators
  • PipPipPipPipPip
  • 499 posts
  • Gender:Not Telling

Posted 06 June 2013 - 12:08 PM

Mda, prima versiune muta sl-ul la OrderOpenPrice() +/- X Am inteles ca vrei sa muti sl-ul la plus sau minus X pips. Acum inteleg ca tu defapt vrei SL-ul in sine sa se mute X pips. Am atasat o versiune care face treaba asta.

Attached Files


Project Mayhem. Organized Chaos. The Bureaucracy of Anarchy. Support groups. Sort of.


#8 Apollo

Apollo

    Big Shark

  • Banned
  • PipPipPipPipPipPipPipPipPip
  • 1382 posts
  • Gender:Male
  • Location:In munti...
  • Broker curent LMAX

Posted 06 June 2013 - 01:51 PM

images.jpg


"Imposibilul e un cuvant care se gaseste numai in dictionarul nãtângilor."

"Remember that if you practice strict money management rules, you will become the casino and in the long run, "you will always win."

 

"If you have ever watched one  of the nature programs  on television  about how many species of fish hunt, you may  have seen  the larger fish that create "bait balls"  by coralling  smaller fish into a tight group."

 

Money moves the market, not an indicator.


#9 theSeer

theSeer

    Forexist activ

  • Members
  • PipPipPipPipPip
  • 122 posts
  • Gender:Male
  • Location:Bucuresti
  • Interests:Broker certificat CCIR din 1996
  • Broker curent Oanda
  • Strategie/tehnica folosita Modelarea matematica

Posted 06 June 2013 - 06:15 PM

Mi-am facut si eu damblaua si am scris cateva linii de cod.

 

Attached Files



#10 Apollo

Apollo

    Big Shark

  • Banned
  • PipPipPipPipPipPipPipPipPip
  • 1382 posts
  • Gender:Male
  • Location:In munti...
  • Broker curent LMAX

Posted 07 June 2013 - 11:01 AM

theSeer

 

Daca le ai cu programarea atunci mai poti crea ceva ? Sa nu mai il stresez pe om la cap :>


Edited by Apollo, 07 June 2013 - 11:01 AM.

"Imposibilul e un cuvant care se gaseste numai in dictionarul nãtângilor."

"Remember that if you practice strict money management rules, you will become the casino and in the long run, "you will always win."

 

"If you have ever watched one  of the nature programs  on television  about how many species of fish hunt, you may  have seen  the larger fish that create "bait balls"  by coralling  smaller fish into a tight group."

 

Money moves the market, not an indicator.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Tranzactiile forex implica un grad ridicat de risc. Informatiile de pe acest site NU reprezinta recomadari de tranzactionare sau investitii.
Administratorii vamist.ro nu-si asuma responsabilitatea pentru eventualele probleme sau pierderi materiale aparute in urma utilizarii informatiilor de pe site.